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

Unified Diff: chrome/browser/chromeos/settings/shutdown_policy_forwarder.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/chromeos/login/users/wallpaper/wallpaper_manager.cc ('k') | chrome/browser/image_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/settings/shutdown_policy_forwarder.cc
diff --git a/chrome/browser/chromeos/settings/shutdown_policy_forwarder.cc b/chrome/browser/chromeos/settings/shutdown_policy_forwarder.cc
index 2d61857555a5829c68d87c707ec309d22a3a93c6..f48aae0d315163998fd216048f7b366063339937 100644
--- a/chrome/browser/chromeos/settings/shutdown_policy_forwarder.cc
+++ b/chrome/browser/chromeos/settings/shutdown_policy_forwarder.cc
@@ -25,7 +25,7 @@ void ShutdownPolicyForwarder::OnShutdownPolicyChanged(bool reboot_on_shutdown) {
ash::mojom::ShutdownControllerPtr shutdown_controller;
content::ServiceManagerConnection::GetForProcess()
->GetConnector()
- ->ConnectToInterface(ash_util::GetAshServiceName(), &shutdown_controller);
+ ->BindInterface(ash_util::GetAshServiceName(), &shutdown_controller);
// Forward the setting to ash.
shutdown_controller->SetRebootOnShutdown(reboot_on_shutdown);
« no previous file with comments | « chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc ('k') | chrome/browser/image_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698