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

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

Issue 1959313002: Use ChannelMojo for the utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-all-processes
Patch Set: Created 4 years, 7 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
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 9975faf762bf3077d1567f5b37c907f08e103866..3bf527463445e014b0d5c2f977d06ef8228d277e 100644
--- a/content/public/common/child_process_host.h
+++ b/content/public/common/child_process_host.h
@@ -81,6 +81,10 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
// empty string otherwise
virtual std::string CreateChannel() = 0;
+ // Creates the IPC channel on top of Mojo. Returns the Mojo channel token if
+ // succeeded, or an empty string on failure.
+ virtual std::string CreateChannelMojo() = 0;
+
// Returns true iff the IPC channel is currently being opened;
virtual bool IsChannelOpening() = 0;

Powered by Google App Engine
This is Rietveld 408576698