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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_presenter_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 | « chrome/browser/image_decoder.cc ('k') | chrome/browser/ui/ash/cast_config_client_media_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc b/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
index aed941a3562e6512fbf7e466cece7909adf963ef..1a706fb72ae04f3b4fd0a83a4fee14fcd59d21ff 100644
--- a/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
@@ -16,8 +16,8 @@ AppListPresenterService::AppListPresenterService() : binding_(this) {
if (connection && connection->GetConnector()) {
// Connect to the app list interface in the ash service.
app_list::mojom::AppListPtr app_list_ptr;
- connection->GetConnector()->ConnectToInterface(
- ash_util::GetAshServiceName(), &app_list_ptr);
+ connection->GetConnector()->BindInterface(ash_util::GetAshServiceName(),
+ &app_list_ptr);
// Register this object as the app list presenter.
app_list_ptr->SetAppListPresenter(binding_.CreateInterfacePtrAndBind());
// Pass the interface pointer to the presenter to report visibility changes.
« no previous file with comments | « chrome/browser/image_decoder.cc ('k') | chrome/browser/ui/ash/cast_config_client_media_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698