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

Unified Diff: content/child/child_thread_impl.cc

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/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index b5637ea05b724ab3c8cee177851bfd267ea2cf2c..4cd05b92ddf22e5024b255f97277c165c62b9db6 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -262,7 +262,8 @@ ChildThread* ChildThread::Get() {
ChildThreadImpl::Options::Options()
: channel_name(base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kProcessChannelID)),
- use_mojo_channel(false) {
+ use_mojo_channel(base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kMojoChannelToken)) {
}
ChildThreadImpl::Options::Options(const Options& other) = default;

Powered by Google App Engine
This is Rietveld 408576698