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

Unified Diff: chrome/browser/ui/ash/session_controller_client.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/ui/ash/media_client.cc ('k') | chrome/browser/ui/ash/system_tray_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/session_controller_client.cc
diff --git a/chrome/browser/ui/ash/session_controller_client.cc b/chrome/browser/ui/ash/session_controller_client.cc
index 372cf906f3ca0634b9c86179b8543580e83758f2..df61bb96a2c0fcff6eb896759c83874b36c40b64 100644
--- a/chrome/browser/ui/ash/session_controller_client.cc
+++ b/chrome/browser/ui/ash/session_controller_client.cc
@@ -246,7 +246,7 @@ void SessionControllerClient::OnSessionStateChanged() {
void SessionControllerClient::ConnectToSessionControllerAndSetClient() {
content::ServiceManagerConnection::GetForProcess()
->GetConnector()
- ->ConnectToInterface(ash_util::GetAshServiceName(), &session_controller_);
+ ->BindInterface(ash_util::GetAshServiceName(), &session_controller_);
// Set as |session_controller_|'s client.
session_controller_->SetClient(binding_.CreateInterfacePtrAndBind());
« no previous file with comments | « chrome/browser/ui/ash/media_client.cc ('k') | chrome/browser/ui/ash/system_tray_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698