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

Unified Diff: services/shell/standalone/context.cc

Issue 2390013002: Rename mojo: to service: (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 | « services/shell/service_manager.cc ('k') | services/shell/tests/connect/connect_test_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/standalone/context.cc
diff --git a/services/shell/standalone/context.cc b/services/shell/standalone/context.cc
index 7a15ce714dd66eedc1d0f756fb08e9bbb2fc554b..16d374cfad072ce9e2c34656731b948a6f03f643 100644
--- a/services/shell/standalone/context.cc
+++ b/services/shell/standalone/context.cc
@@ -176,7 +176,7 @@ void Context::Init(std::unique_ptr<InitParams> init_params) {
std::unique_ptr<ConnectParams> params(new ConnectParams);
params->set_source(CreateServiceManagerIdentity());
- params->set_target(Identity("mojo:tracing", mojom::kRootUserID));
+ params->set_target(Identity("service:tracing", mojom::kRootUserID));
params->set_remote_interfaces(mojo::GetProxy(&tracing_remote_interfaces));
service_manager_->Connect(std::move(params));
@@ -239,7 +239,7 @@ void Context::RunCommandLineApplication() {
#else
std::string possible_app = args[i];
#endif
- if (GetNameType(possible_app) == "mojo") {
+ if (GetNameType(possible_app) == kNameType_Service) {
Run(possible_app);
break;
}
« no previous file with comments | « services/shell/service_manager.cc ('k') | services/shell/tests/connect/connect_test_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698