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

Unified Diff: services/tracing/public/cpp/provider.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/service_manager/tests/util.cc ('k') | services/ui/clipboard/clipboard_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/public/cpp/provider.cc
diff --git a/services/tracing/public/cpp/provider.cc b/services/tracing/public/cpp/provider.cc
index 852f5d63f5266ebacc2bf90afb801f23df4c7876..12e27bbbeecc3ed7257415a2c1e23c02de730511 100644
--- a/services/tracing/public/cpp/provider.cc
+++ b/services/tracing/public/cpp/provider.cc
@@ -76,7 +76,7 @@ void Provider::Initialize(service_manager::Connector* connector,
g_tracing_singleton_created = true;
}
mojom::FactoryPtr factory;
- connector->ConnectToInterface(tracing::mojom::kServiceName, &factory);
+ connector->BindInterface(tracing::mojom::kServiceName, &factory);
InitializeWithFactoryInternal(&factory);
// This will only set the name for the first app in a loaded mojo file. It's
// up to something like CoreServices to name its own child threads.
« no previous file with comments | « services/service_manager/tests/util.cc ('k') | services/ui/clipboard/clipboard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698