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

Unified Diff: content/common/in_process_child_thread_params.cc

Issue 1877743002: Use token-based initialisation for the utility process MojoApplication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/common/in_process_child_thread_params.cc
diff --git a/content/common/in_process_child_thread_params.cc b/content/common/in_process_child_thread_params.cc
index 84157997e06982ac42f0e805d5bca476660a9ca5..7599cb1b560faf79c1a70af5c01dc647474d94a3 100644
--- a/content/common/in_process_child_thread_params.cc
+++ b/content/common/in_process_child_thread_params.cc
@@ -9,8 +9,10 @@ namespace content {
InProcessChildThreadParams::InProcessChildThreadParams(
const std::string& channel_name,
scoped_refptr<base::SequencedTaskRunner> io_runner,
- mojo::MessagePipeHandle handle)
- : channel_name_(channel_name), io_runner_(io_runner), handle_(handle) {}
+ mojo::MessagePipeHandle handle,
+ mojo::MessagePipeHandle application_handle)
+ : channel_name_(channel_name), io_runner_(io_runner), handle_(handle),
+ application_handle_(application_handle) {}
InProcessChildThreadParams::InProcessChildThreadParams(
const InProcessChildThreadParams& other) = default;

Powered by Google App Engine
This is Rietveld 408576698