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

Unified Diff: content/browser/child_process_launcher.h

Issue 2019973002: [mojo-edk] Bind a child token to child launches and port reservations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/browser/browser_child_process_host_impl.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher.h
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
index 7d34ba925367105afb791b93d10bb863282386fe..22e6e011e36e7f1cfcf4f428d11e0913f8992d1c 100644
--- a/content/browser/child_process_launcher.h
+++ b/content/browser/child_process_launcher.h
@@ -74,6 +74,7 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
base::CommandLine* cmd_line,
int child_process_id,
Client* client,
+ const std::string& mojo_child_token,
bool terminate_on_shutdown = true);
~ChildProcessLauncher();
@@ -157,6 +158,7 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
// Host side platform handle to establish Mojo IPC.
mojo::edk::ScopedPlatformHandle mojo_host_platform_handle_;
+ const std::string mojo_child_token_;
base::WeakPtrFactory<ChildProcessLauncher> weak_factory_;
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698