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

Unified Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 2497123002: chromeos: Move device shutdown handling out of chrome into ash (Closed)
Patch Set: rebase Created 4 years, 1 month 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/webui/chromeos/login/oobe_ui.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
index 96beb8b6ef63f5883fc1e009e8be24a18878d5c4..58120102187846bce80e7da42f97c6c44a393cb8 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
@@ -539,8 +539,7 @@ void OobeUI::InitializeHandlers() {
new ShutdownPolicyHandler(CrosSettings::Get(), this));
// Trigger an initial update.
- shutdown_policy_handler_->CheckIfRebootOnShutdown(
- base::Bind(&OobeUI::OnShutdownPolicyChanged, base::Unretained(this)));
+ shutdown_policy_handler_->NotifyDelegateWithShutdownPolicy();
}
void OobeUI::OnScreenAssetsLoaded(const std::string& async_assets_load_id) {
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698