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

Unified Diff: chrome/browser/ui/ash/system_tray_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/session_controller_client.cc ('k') | chrome/browser/ui/ash/volume_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_client.cc
diff --git a/chrome/browser/ui/ash/system_tray_client.cc b/chrome/browser/ui/ash/system_tray_client.cc
index 518118c0887cafb7013a92684ecffe66b8c58e55..475ed226fca537687c29a79682687a15ea74c234 100644
--- a/chrome/browser/ui/ash/system_tray_client.cc
+++ b/chrome/browser/ui/ash/system_tray_client.cc
@@ -87,7 +87,7 @@ ash::mojom::UpdateSeverity GetUpdateSeverity(UpgradeDetector* detector) {
SystemTrayClient::SystemTrayClient() : binding_(this) {
content::ServiceManagerConnection::GetForProcess()
->GetConnector()
- ->ConnectToInterface(ash_util::GetAshServiceName(), &system_tray_);
+ ->BindInterface(ash_util::GetAshServiceName(), &system_tray_);
// Register this object as the client interface implementation.
system_tray_->SetClient(binding_.CreateInterfacePtrAndBind());
« no previous file with comments | « chrome/browser/ui/ash/session_controller_client.cc ('k') | chrome/browser/ui/ash/volume_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698