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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 2230283003: Revert of Establish MojoChildConnection from BrowserChildProcessHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-channel
Patch Set: Created 4 years, 4 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/browser/ppapi_plugin_process_host.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 7e915f53a750a12c7d2720ad45d70993510f6c41..d9c7410e98d439554064ef8789d2a280bf58df73 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -26,6 +26,7 @@
namespace content {
class BrowserChildProcessHostImpl;
class InProcessChildThreadParams;
+class MojoChildConnection;
typedef base::Thread* (*UtilityMainThreadFactoryFunction)(
const InProcessChildThreadParams&);
@@ -116,6 +117,11 @@
// Used in single-process mode instead of process_.
std::unique_ptr<base::Thread> in_process_thread_;
+ // Browser-side Mojo endpoint which sets up a Mojo channel with the child
+ // process and contains the browser's shell::InterfaceRegistry.
+ const std::string child_token_;
+ std::unique_ptr<MojoChildConnection> mojo_child_connection_;
+
// Used to vend weak pointers, and should always be declared last.
base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_;
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698