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

Unified Diff: chrome/browser/chromeos/login/screens/host_pairing_screen.h

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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/host_pairing_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/screens/host_pairing_screen.h
diff --git a/chrome/browser/chromeos/login/screens/host_pairing_screen.h b/chrome/browser/chromeos/login/screens/host_pairing_screen.h
index 4e2c5e74731ecaa1e7815a2c98ebdde988150559..39da633cc76242c6b0536889b90ee0ec913e9ed3 100644
--- a/chrome/browser/chromeos/login/screens/host_pairing_screen.h
+++ b/chrome/browser/chromeos/login/screens/host_pairing_screen.h
@@ -35,6 +35,10 @@ class HostPairingScreen
// Called when a network configuration has been received, and should be
// used on this device.
virtual void AddNetworkRequested(const std::string& onc_spec) = 0;
+
+ // Called when a reboot message has been received, and should reboot this
+ // device.
+ virtual void RebootHostRequested() = 0;
};
HostPairingScreen(BaseScreenDelegate* base_screen_delegate,
@@ -61,6 +65,7 @@ class HostPairingScreen
const std::string& keyboard_layout) override;
void AddNetworkRequested(const std::string& onc_spec) override;
void EnrollHostRequested(const std::string& auth_token) override;
+ void RebootHostRequested() override;
// Overridden from ControllerPairingView::Delegate:
void OnViewDestroyed(HostPairingScreenView* view) override;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/host_pairing_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698