feat: add child-process-gone event to app (#24367)

This commit is contained in:
Milan Burda 2020-07-20 16:34:16 +02:00 committed by GitHub
parent f146a164af
commit fa1323d6cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 1 deletions

View file

@ -157,6 +157,10 @@ class App : public ElectronBrowserClient::Delegate,
const content::ChildProcessTerminationInfo& info) override;
private:
void BrowserChildProcessCrashedOrKilled(
const content::ChildProcessData& data,
const content::ChildProcessTerminationInfo& info);
void SetAppPath(const base::FilePath& app_path);
void ChildProcessLaunched(int process_type,
base::ProcessHandle handle,