| 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..05278f26dcdbe70217cf93702141543f5b491987 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_NETWORK_ERROR,
|
| STAGE_WAITING_FOR_CONTROLLER_AFTER_UPDATE,
|
| STAGE_WAITING_FOR_CREDENTIALS,
|
| STAGE_ENROLLING,
|
| @@ -26,6 +28,14 @@ class HostPairingController {
|
| STAGE_FINISHED
|
| };
|
|
|
| + enum Connectivity {
|
| + CONNECTIVITY_UNTESTED,
|
| + CONNECTIVITY_NONE,
|
| + CONNECTIVITY_LIMITED,
|
| + CONNECTIVITY_CONNECTING,
|
| + CONNECTIVITY_CONNECTED,
|
| + };
|
| +
|
| enum UpdateStatus {
|
| UPDATE_STATUS_UNKNOWN,
|
| UPDATE_STATUS_UPDATING,
|
| @@ -85,6 +95,10 @@ class HostPairingController {
|
| // |STAGE_ENROLLMENT| and later.
|
| virtual std::string GetEnrollmentDomain() = 0;
|
|
|
| + // Notify that the network connectivity status has changed.
|
| + virtual void OnNetworkConnectivityChanged(
|
| + Connectivity connectivity_status) = 0;
|
| +
|
| // Notify that the update status has changed.
|
| virtual void OnUpdateStatusChanged(UpdateStatus update_status) = 0;
|
|
|
|
|