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

Unified Diff: content/child/child_thread_impl.h

Issue 2163883005: WIP: Obtain Bootstrap from utility process Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/utility_process_host_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread_impl.h
diff --git a/content/child/child_thread_impl.h b/content/child/child_thread_impl.h
index a68a63924d3fdfd99d43f1cb64c0498bf9046169..0f817d100fee9a4ca90f7810c8d5001b0193479a 100644
--- a/content/child/child_thread_impl.h
+++ b/content/child/child_thread_impl.h
@@ -20,6 +20,7 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "content/public/child/child_thread.h"
+#include "ipc/ipc.mojom.h"
#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
#include "ipc/ipc_platform_file.h"
#include "ipc/message_router.h"
@@ -199,6 +200,7 @@ class CONTENT_EXPORT ChildThreadImpl
protected:
friend class ChildProcess;
+ class ChildThreadConnectionFilter;
// Called when the process refcount is 0.
void OnProcessFinalRelease();
@@ -239,6 +241,7 @@ class CONTENT_EXPORT ChildThreadImpl
// We create the channel first without connecting it so we can add filters
// prior to any messages being received, then connect it afterwards.
void ConnectChannel(bool use_mojo_channel, const std::string& ipc_token);
+ void ConnectMojoChannel(IPC::mojom::BootstrapRequest request);
// IPC message handlers.
void OnShutdown();
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698