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

Unified Diff: content/common/in_process_child_thread_params.h

Issue 1891043002: Revert of Use a token to initialise ChannelMojo and MojoApplication everywhere. (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
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/in_process_child_thread_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/in_process_child_thread_params.h
diff --git a/content/common/in_process_child_thread_params.h b/content/common/in_process_child_thread_params.h
index ebbf8f6f2fca7862a80b67b50f87649f5db4ba2f..f96060bd50b49106c83678f1941acc2895f2208f 100644
--- a/content/common/in_process_child_thread_params.h
+++ b/content/common/in_process_child_thread_params.h
@@ -10,6 +10,7 @@
#include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner.h"
#include "content/common/content_export.h"
+#include "mojo/public/cpp/system/message_pipe.h"
namespace content {
@@ -21,7 +22,7 @@
InProcessChildThreadParams(
const std::string& channel_name,
scoped_refptr<base::SequencedTaskRunner> io_runner,
- const std::string& ipc_token = std::string(),
+ mojo::MessagePipeHandle handle = mojo::MessagePipeHandle(),
const std::string& application_token = std::string());
InProcessChildThreadParams(const InProcessChildThreadParams& other);
~InProcessChildThreadParams();
@@ -30,7 +31,7 @@
scoped_refptr<base::SequencedTaskRunner> io_runner() const {
return io_runner_;
}
- const std::string& ipc_token() const { return ipc_token_; }
+ mojo::MessagePipeHandle handle() const { return handle_; }
const std::string& application_token() const {
return application_token_;
}
@@ -38,7 +39,7 @@
private:
std::string channel_name_;
scoped_refptr<base::SequencedTaskRunner> io_runner_;
- std::string ipc_token_;
+ mojo::MessagePipeHandle handle_;
std::string application_token_;
};
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/in_process_child_thread_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698