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

Unified Diff: content/browser/child_process_launcher.h

Issue 1442893002: Move Shell connection to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@i2
Patch Set: . Created 5 years, 1 month 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/browser/child_process_launcher.h
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
index 2d647f4087766203f4a3519432b2ff29e041d4b8..6c033bd24fbbf6f7c58e1a6b1c2296c637ddf99b 100644
--- a/content/browser/child_process_launcher.h
+++ b/content/browser/child_process_launcher.h
@@ -107,6 +107,14 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
#endif
base::Process process);
+#if defined(MOJO_SHELL_CLIENT)
+ // When this process is run from an external Mojo shell, this function will
+ // create a channel and pass one end to the spawned process and register the
+ // other end with the external shell, allowing the spawned process to bind an
+ // Application request from the shell.
+ void CreateMojoShellChannel(base::CommandLine* command_line);
+#endif
+
Client* client_;
BrowserThread::ID client_thread_id_;
base::Process process_;

Powered by Google App Engine
This is Rietveld 408576698