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

Unified Diff: content/public/browser/browser_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
Index: content/public/browser/browser_child_process_host_delegate.h
diff --git a/content/public/browser/browser_child_process_host_delegate.h b/content/public/browser/browser_child_process_host_delegate.h
index b6568af1f20d8763ce0c1ec035cc43085d544c3b..c6a94460aba8b8688ffbe2b2e30428f70b458495 100644
--- a/content/public/browser/browser_child_process_host_delegate.h
+++ b/content/public/browser/browser_child_process_host_delegate.h
@@ -21,6 +21,10 @@ class CONTENT_EXPORT BrowserChildProcessHostDelegate : public IPC::Listener {
// it's ok to shutdown, when really it's not.
virtual bool CanShutdown();
+ // Returns true if the IPC::ChannelMojo should be used to the underlying
+ // channel. This must match with what peer ChildThread says.
+ virtual bool ShouldUseMojoChannel();
+
// Called when the process has been started.
virtual void OnProcessLaunched() {}
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/public/browser/browser_child_process_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698