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

Unified Diff: components/pairing/host_pairing_controller.h

Issue 1519883003: 1) Add basic configuration (network connection, language, keyboard layout, timezone) setup page. 2)… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: components/pairing/host_pairing_controller.h
diff --git a/components/pairing/host_pairing_controller.h b/components/pairing/host_pairing_controller.h
index b360d071fea3fef03e0b7ae4b48979ab3d4ba5e8..ab928241616ae7935b6a015603de25da8634783b 100644
--- a/components/pairing/host_pairing_controller.h
+++ b/components/pairing/host_pairing_controller.h
@@ -18,6 +18,8 @@ class HostPairingController {
STAGE_INITIALIZATION_ERROR,
STAGE_WAITING_FOR_CONTROLLER,
STAGE_WAITING_FOR_CODE_CONFIRMATION,
+ STAGE_SETUP_BASIC_CONFIGURATION,
+ STAGE_SETUP_NETWOKR_ERROR,
STAGE_WAITING_FOR_CONTROLLER_AFTER_UPDATE,
STAGE_WAITING_FOR_CREDENTIALS,
STAGE_ENROLLING,
@@ -71,6 +73,9 @@ class HostPairingController {
// Returns current stage of pairing process.
virtual Stage GetCurrentStage() = 0;
+ // Set current stage and notify its observers the stage has changed.
+ virtual void ChangeStage(Stage new_stage) = 0;
dzhioev (left Google) 2015/12/15 23:07:23 This method shouldn't be in a public interface. Ch
+
// Starts pairing process. Can be called only on |STAGE_NONE| stage.
virtual void StartPairing() = 0;

Powered by Google App Engine
This is Rietveld 408576698