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

Unified Diff: content/common/mojo/mojo_shell_connection_impl.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 | « content/browser/mojo/mojo_shell_context.cc ('k') | content/content_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/mojo_shell_connection_impl.cc
diff --git a/content/common/mojo/mojo_shell_connection_impl.cc b/content/common/mojo/mojo_shell_connection_impl.cc
index 0bd2ccad75e167ab5b7a8ef5dd70f6332f5a62d8..e37231158f86b84ac70fd987dd43f084149e123e 100644
--- a/content/common/mojo/mojo_shell_connection_impl.cc
+++ b/content/common/mojo/mojo_shell_connection_impl.cc
@@ -227,7 +227,7 @@ class MojoShellConnectionImpl::IOThreadContext
shell::InterfaceRegistry* registry) override {
DCHECK(io_thread_checker_.CalledOnValidThread());
std::string remote_app = remote_identity.name();
- if (remote_app == "mojo:shell") {
+ if (remote_app == "service:shell") {
// Only expose the SCF interface to the shell.
registry->AddInterface<shell::mojom::ServiceFactory>(this);
return true;
@@ -242,7 +242,7 @@ class MojoShellConnectionImpl::IOThreadContext
}
}
- if (remote_identity.name() == "exe:content_browser" &&
+ if (remote_identity.name() == "service:content_browser" &&
!has_browser_connection_) {
has_browser_connection_ = true;
registry->set_default_binder(default_browser_binder_);
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | content/content_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698