diff options
| author | xdai <xdai@chromium.org> | 2015-12-16 12:00:49 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-12-16 20:02:08 +0000 |
| commit | 1bc23b7f85b9d927c23a85458ce0e10e644a4b61 (patch) | |
| tree | 60770b2d8078f123d8632778e30c1b63b302ef41 /components/pairing/host_pairing_controller.h | |
| parent | 2ac89ad12d6f0c914c673e57299f69e6d2046941 (diff) | |
| download | chromium_src-1bc23b7f85b9d927c23a85458ce0e10e644a4b61.zip chromium_src-1bc23b7f85b9d927c23a85458ce0e10e644a4b61.tar.gz chromium_src-1bc23b7f85b9d927c23a85458ce0e10e644a4b61.tar.bz2 | |
1) Add basic configuration (network connection, language, keyboard layout, timezone) setup page.
2) Add network setup error page.
3) Format the i18n style in host-pairing-screen.html and controller-pairing-screen.html.
BUG=564370
Review URL: https://codereview.chromium.org/1519883003
Cr-Commit-Position: refs/heads/master@{#365597}
Diffstat (limited to 'components/pairing/host_pairing_controller.h')
| -rw-r--r-- | components/pairing/host_pairing_controller.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/components/pairing/host_pairing_controller.h b/components/pairing/host_pairing_controller.h index b360d07..05278f2 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; |
