feat: add name to app.getAppMetrics() output (#24359)

This commit is contained in:
Milan Burda 2020-07-07 20:00:45 +02:00 committed by GitHub
parent 25a36a43c1
commit 7fd96cd188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 6 deletions

View file

@ -158,7 +158,9 @@ class App : public ElectronBrowserClient::Delegate,
private:
void SetAppPath(const base::FilePath& app_path);
void ChildProcessLaunched(int process_type, base::ProcessHandle handle);
void ChildProcessLaunched(int process_type,
base::ProcessHandle handle,
const std::string& name = std::string());
void ChildProcessDisconnected(base::ProcessId pid);
void SetAppLogsPath(gin_helper::ErrorThrower thrower,