Update AtomBrowserClient::RenderProcessWillLaunch api

https://chromium-review.googlesource.com/c/chromium/src/+/742344
This commit is contained in:
deepak1556 2018-04-11 14:56:56 +05:30 committed by Samuel Attard
parent 409ff41c03
commit b7bc3ec20d
2 changed files with 5 additions and 2 deletions

View file

@ -166,7 +166,8 @@ bool AtomBrowserClient::RendererDisablesPopups(int process_id) {
} }
void AtomBrowserClient::RenderProcessWillLaunch( void AtomBrowserClient::RenderProcessWillLaunch(
content::RenderProcessHost* host) { content::RenderProcessHost* host,
service_manager::mojom::ServiceRequest* service_request)) {
// When a render process is crashed, it might be reused. // When a render process is crashed, it might be reused.
int process_id = host->GetID(); int process_id = host->GetID();
if (IsProcessObserved(process_id)) if (IsProcessObserved(process_id))

View file

@ -48,7 +48,9 @@ class AtomBrowserClient : public brightray::BrowserClient,
protected: protected:
// content::ContentBrowserClient: // content::ContentBrowserClient:
void RenderProcessWillLaunch(content::RenderProcessHost* host) override; void RenderProcessWillLaunch(
content::RenderProcessHost* host,
service_manager::mojom::ServiceRequest* service_request) override;
content::SpeechRecognitionManagerDelegate* content::SpeechRecognitionManagerDelegate*
CreateSpeechRecognitionManagerDelegate() override; CreateSpeechRecognitionManagerDelegate() override;
void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,