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

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

Issue 2680973006: Mojo EDK: Add safe process connection API (Closed)
Patch Set: . Created 3 years, 10 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/common/BUILD.gn ('k') | content/renderer/render_thread_impl_browsertest.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 c82774e2d843c1ae3575b722101f68628de3327d..6a541cb1048a20e0611ecff1dada98a0d7b61b47 100644
--- a/content/public/common/child_process_host.h
+++ b/content/public/common/child_process_host.h
@@ -11,6 +11,7 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "ipc/ipc_channel_proxy.h"
+#include "mojo/edk/embedder/pending_process_connection.h"
namespace base {
class FilePath;
@@ -85,7 +86,8 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
//
// DEPRECATED: Don't use this. Instead implement GetRemoteInterfaces() in the
// delegate and use the CreateChannelMojo() version below.
- virtual std::string CreateChannelMojo(const std::string& child_token) = 0;
+ virtual std::string CreateChannelMojo(
+ mojo::edk::PendingProcessConnection* connection) = 0;
// Creates the IPC channel over a Mojo message pipe. The pipe connection is
// brokered through the Service Manager like any other service connection.
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/renderer/render_thread_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698