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

Unified Diff: services/ui/service.cc

Issue 2617883002: Add a new BindInterface() method to Connector. (Closed)
Patch Set: . Created 3 years, 11 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/ui/public/cpp/window_tree_host_factory.cc ('k') | services/ui/ws/gpu_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index 7139d26f9c95778cbc29b619f33c557ddf73650b..2e7f078a666ad39ec00786d774b76ec8cf3308e6 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -109,7 +109,7 @@ void Service::InitializeResources(service_manager::Connector* connector) {
catalog::ResourceLoader loader;
filesystem::mojom::DirectoryPtr directory;
- connector->ConnectToInterface(catalog::mojom::kServiceName, &directory);
+ connector->BindInterface(catalog::mojom::kServiceName, &directory);
CHECK(loader.OpenFiles(std::move(directory), resource_paths));
ui::RegisterPathProvider();
« no previous file with comments | « services/ui/public/cpp/window_tree_host_factory.cc ('k') | services/ui/ws/gpu_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698