Chromium Code Reviews| 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; |