feat: add serviceName to 'child-process-gone' / app.getAppMetrics() (#25975)
This commit is contained in:
parent
c27e5fdbb6
commit
decb1eb87b
7 changed files with 20 additions and 3 deletions
|
@ -38,11 +38,13 @@ struct ProcessMetric {
|
|||
int type;
|
||||
base::Process process;
|
||||
std::unique_ptr<base::ProcessMetrics> metrics;
|
||||
std::string service_name;
|
||||
std::string name;
|
||||
|
||||
ProcessMetric(int type,
|
||||
base::ProcessHandle handle,
|
||||
std::unique_ptr<base::ProcessMetrics> metrics,
|
||||
const std::string& service_name = std::string(),
|
||||
const std::string& name = std::string());
|
||||
~ProcessMetric();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue