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

Unified Diff: content/common/service_manager/service_manager_connection_impl.cc

Issue 2427443002: Replace remaining shell references with service manager (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
Index: content/common/service_manager/service_manager_connection_impl.cc
diff --git a/content/common/service_manager/service_manager_connection_impl.cc b/content/common/service_manager/service_manager_connection_impl.cc
index d1c4474eba5fb4ee8a35366e1fa5715225ca3434..06e23eeb294da7f41892e4f85e6617ad34b9e4ff 100644
--- a/content/common/service_manager/service_manager_connection_impl.cc
+++ b/content/common/service_manager/service_manager_connection_impl.cc
@@ -231,8 +231,8 @@ class ServiceManagerConnectionImpl::IOThreadContext
service_manager::InterfaceRegistry* registry) override {
DCHECK(io_thread_checker_.CalledOnValidThread());
std::string remote_service = remote_identity.name();
- if (remote_service == "service:shell") {
- // Only expose the SCF interface to the shell.
+ if (remote_service == "service:service_manager") {
+ // Only expose the ServiceFactory interface to the Service Manager.
registry->AddInterface<service_manager::mojom::ServiceFactory>(this);
return true;
}
« no previous file with comments | « content/common/service_manager/embedded_service_runner.cc ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698