Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6662)

Unified Diff: content/browser/browser_child_process_host_impl.h

Issue 960693003: Enable ChannelMojo for non-renderer child processes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Splitted out the ipc/ change Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host_impl.h
diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
index 08e1b360a1147dec8c9124e9800333585eb3f978..8972736f2a79eccd1445665a77b59940eacc480a 100644
--- a/content/browser/browser_child_process_host_impl.h
+++ b/content/browser/browser_child_process_host_impl.h
@@ -64,6 +64,7 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
// ChildProcessHostDelegate implementation:
bool CanShutdown() override;
+ bool ShouldUseMojoChannel() override;
void OnChildDisconnected() override;
const base::Process& GetProcess() const override;
bool OnMessageReceived(const IPC::Message& message) override;
@@ -71,6 +72,10 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
void OnChannelError() override;
void OnBadMessageReceived(const IPC::Message& message) override;
+ // Notify associated objects that the child process is launched.
+ // Clients can use this to fake process launch on the in-process mode.
+ void NotifyProcessLaunched();
+
// Removes this host from the host list. Calls ChildProcessHost::ForceShutdown
void ForceShutdown();
« no previous file with comments | « no previous file | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698