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

Unified Diff: chrome/browser/ui/ash/cast_config_client_media_router.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
Index: chrome/browser/ui/ash/cast_config_client_media_router.cc
diff --git a/chrome/browser/ui/ash/cast_config_client_media_router.cc b/chrome/browser/ui/ash/cast_config_client_media_router.cc
index 114e29264e42c8aab3a16c706929a9d6ddd286b4..333ca463279da91afa16440cfa898e2123282279 100644
--- a/chrome/browser/ui/ash/cast_config_client_media_router.cc
+++ b/chrome/browser/ui/ash/cast_config_client_media_router.cc
@@ -150,7 +150,7 @@ CastConfigClientMediaRouter::CastConfigClientMediaRouter() : binding_(this) {
// client.
content::ServiceManagerConnection::GetForProcess()
->GetConnector()
- ->ConnectToInterface(ash_util::GetAshServiceName(), &cast_config_);
+ ->BindInterface(ash_util::GetAshServiceName(), &cast_config_);
// Register this object as the client interface implementation.
ash::mojom::CastConfigClientAssociatedPtrInfo ptr_info;
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_presenter_service.cc ('k') | chrome/browser/ui/ash/chrome_new_window_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698