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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . Created 4 years, 2 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.h ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index 386cf5bc281b1c1b71c084da70abd6c52f30c9b5..a8d19b0a37cd8e492eeeb213f448958b0e460dfc 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -32,7 +32,7 @@
#include "content/browser/tracing/trace_message_filter.h"
#include "content/common/child_process_host_impl.h"
#include "content/common/child_process_messages.h"
-#include "content/common/mojo/mojo_child_connection.h"
+#include "content/common/service_manager/child_connection.h"
#include "content/public/browser/browser_child_process_host_delegate.h"
#include "content/public/browser/browser_child_process_observer.h"
#include "content/public/browser/browser_thread.h"
@@ -175,7 +175,7 @@ BrowserChildProcessHostImpl::BrowserChildProcessHostImpl(
if (!service_name.empty()) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- child_connection_.reset(new MojoChildConnection(
+ child_connection_.reset(new ChildConnection(
service_name, base::StringPrintf("%d", data_.id), child_token_,
ServiceManagerContext::GetConnectorForIOThread(),
base::ThreadTaskRunnerHandle::Get()));
@@ -252,7 +252,7 @@ void BrowserChildProcessHostImpl::Launch(
arraysize(kForwardSwitches));
if (child_connection_) {
- cmd_line->AppendSwitchASCII(switches::kMojoApplicationChannelToken,
+ cmd_line->AppendSwitchASCII(switches::kServiceRequestChannelToken,
child_connection_->service_token());
}
« no previous file with comments | « content/browser/browser_child_process_host_impl.h ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698