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

Unified Diff: content/public/common/child_process_host_delegate.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 | « content/public/common/child_process_host.h ('k') | content/public/common/child_process_host_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/child_process_host_delegate.h
diff --git a/content/public/common/child_process_host_delegate.h b/content/public/common/child_process_host_delegate.h
index 95942763c1575dce8df48cfedce8ef2445b4efdb..7ad73b4fe22d4e79fa2b92109b70ae34ec806599 100644
--- a/content/public/common/child_process_host_delegate.h
+++ b/content/public/common/child_process_host_delegate.h
@@ -24,6 +24,10 @@ class ChildProcessHostDelegate : public IPC::Listener {
// it's ok to shutdown, when really it's not.
CONTENT_EXPORT virtual bool CanShutdown();
+ // Returns true if the IPC::ChannelMojo should be used to the underlying
+ // channel. This must match with what peer ChildThread says.
+ CONTENT_EXPORT virtual bool ShouldUseMojoChannel();
+
// Called when the child process unexpected closes the IPC channel. Delegates
// would normally delete the object in this case.
virtual void OnChildDisconnected() {}
« no previous file with comments | « content/public/common/child_process_host.h ('k') | content/public/common/child_process_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698