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

Unified Diff: content/child/child_thread_impl.h

Issue 2109043002: Eliminate the ChannelMojo channel for renderers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/child/BUILD.gn ('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 20c03e0e42f3877ecb18656874b2a47a3ed7285b..39658fab20a515222aadb984cf997f8ddd9df75a 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"
@@ -102,6 +103,7 @@ class CONTENT_EXPORT ChildThreadImpl
shell::InterfaceProvider* GetRemoteInterfaces() override;
// shell::ShellClient:
+ bool AcceptConnection(shell::Connection* connection) override;
shell::InterfaceRegistry* GetInterfaceRegistryForConnection() override;
shell::InterfaceProvider* GetInterfaceProviderForConnection() override;
@@ -252,8 +254,11 @@ class CONTENT_EXPORT ChildThreadImpl
void EnsureConnected();
+ void BindBootstrapRequest(mojo::ScopedMessagePipeHandle handle);
+
std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
std::unique_ptr<MojoShellConnection> mojo_shell_connection_;
+ IPC::mojom::BootstrapPtr pending_bootstrap_;
std::unique_ptr<shell::InterfaceRegistry> interface_registry_;
std::unique_ptr<shell::InterfaceProvider> remote_interfaces_;
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698