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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 2901653002: Bootstrapping: Reboot on enrollment failure (Closed)
Patch Set: Fixed comments. Created 3 years, 7 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
Index: chrome/browser/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index 985a264e493b64a7629a850cd6e6550c49065dd4..465b5ac79dade26d287f1e478b21d855ccb1f9b0 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -1286,6 +1286,10 @@ void WizardController::AddNetworkRequested(const std::string& onc_spec) {
}
}
+void WizardController::RebootHostRequested() {
+ DBusThreadManager::Get()->GetPowerManagerClient()->RequestRestart();
+}
+
void WizardController::OnEnableDebuggingScreenRequested() {
if (!login_screen_started())
AdvanceToScreen(OobeScreen::SCREEN_OOBE_ENABLE_DEBUGGING);
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.h ('k') | components/pairing/bluetooth_controller_pairing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698