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

Unified Diff: content/public/common/child_process_host.h

Issue 2112543002: Convert UtilityProcessHost to bootstrap Mojo Channel using the Shell connection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@p9x
Patch Set: . Created 4 years, 6 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/browser/shell_context.h ('k') | content/utility/utility_thread_impl.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.h
diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h
index 7fbac4c8f6f9b259f7a14eb1043c4c0a1cb1e49d..6f1543f19895f20a76474e2ae2ec0f01be778d3d 100644
--- a/content/public/common/child_process_host.h
+++ b/content/public/common/child_process_host.h
@@ -85,6 +85,11 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
// succeeded, or an empty string on failure.
virtual std::string CreateChannelMojo(const std::string& child_token) = 0;
+ // Creates the IPC channel on top of Mojo using |handle| as the bootstrap
+ // factory. Returns true if creation/initialization succeeded.
+ virtual bool CreateChannelMojoWithBootstrap(
+ mojo::ScopedMessagePipeHandle handle) = 0;
+
// Returns true iff the IPC channel is currently being opened;
virtual bool IsChannelOpening() = 0;
« no previous file with comments | « content/public/browser/shell_context.h ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698