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

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

Issue 2492063002: chromeos: Simplify ShutdownPolicyHandler
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/ash/system_tray_delegate_chromeos.cc ('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 9e1a9c04ccf5d9dffbe1c1b5397db93e298bee92..870f01c71c322fab61572eac038b11e6a3330e2a 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
@@ -521,8 +521,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_->CheckIfRebootOnShutdown();
}
void OobeUI::OnScreenAssetsLoaded(const std::string& async_assets_load_id) {
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698