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

Unified Diff: components/pairing/host_pairing_controller.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 | « components/pairing/bluetooth_host_pairing_controller.cc ('k') | components/pairing/pairing_api.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pairing/host_pairing_controller.h
diff --git a/components/pairing/host_pairing_controller.h b/components/pairing/host_pairing_controller.h
index 869f1e9fa4a36704790a5d69acc11d143d5a6497..76fdd66e7466bb735437e463a6ce04eef48d3a19 100644
--- a/components/pairing/host_pairing_controller.h
+++ b/components/pairing/host_pairing_controller.h
@@ -72,6 +72,10 @@ class HostPairingController {
// Called when the controller has provided an |auth_token| for enrollment.
virtual void EnrollHostRequested(const std::string& auth_token) {}
+ // Called when the controller has sent a reboot request. This will happen
+ // when the host enrollment fails.
+ virtual void RebootHostRequested() {}
+
private:
DISALLOW_COPY_AND_ASSIGN(Observer);
};
« no previous file with comments | « components/pairing/bluetooth_host_pairing_controller.cc ('k') | components/pairing/pairing_api.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698