summaryrefslogtreecommitdiffstats
path: root/components/pairing/pairing_api.proto
diff options
context:
space:
mode:
authorachuith <achuith@chromium.org>2014-10-13 20:48:34 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-14 03:49:16 +0000
commitebd853b376cb58ea120aca3617b86ae6db8785d2 (patch)
treedeb339791071540d07c9cbf1801455cf1405b2ba /components/pairing/pairing_api.proto
parent74c39357ba160b985378a5867fac496ea49f23ad (diff)
downloadchromium_src-ebd853b376cb58ea120aca3617b86ae6db8785d2.zip
chromium_src-ebd853b376cb58ea120aca3617b86ae6db8785d2.tar.gz
chromium_src-ebd853b376cb58ea120aca3617b86ae6db8785d2.tar.bz2
* Transition host to STAGE_UPDATING after pairing.
* Add enrollment status to proto * Remove stages not handled by HostPairingController, and ControllerPairingController. * UpdateScreen sends update status via remora_controller. * EnrollmentScreen sends enrollment status via remora_controller. * Remove auth_token_ from EnrollmentScreen. * Rename to shark_controller and remora_controller in WizardController. * Remove get_initial_status_ from BluetoothControllerPairingController. Review URL: https://codereview.chromium.org/652743003 Cr-Commit-Position: refs/heads/master@{#299422}
Diffstat (limited to 'components/pairing/pairing_api.proto')
-rw-r--r--components/pairing/pairing_api.proto10
1 files changed, 9 insertions, 1 deletions
diff --git a/components/pairing/pairing_api.proto b/components/pairing/pairing_api.proto
index 98eab7a..0d8e668 100644
--- a/components/pairing/pairing_api.proto
+++ b/components/pairing/pairing_api.proto
@@ -26,10 +26,18 @@ message HostStatusParameters {
UPDATE_STATUS_UPDATED = 3;
}
+ enum EnrollmentStatus {
+ ENROLLMENT_STATUS_UNKNOWN = 0;
+ ENROLLMENT_STATUS_ENROLLING = 1;
+ ENROLLMENT_STATUS_FAILURE = 2;
+ ENROLLMENT_STATUS_SUCCESS = 3;
+ }
+
optional string domain = 1;
optional Connectivity connectivity = 2;
optional UpdateStatus update_status = 3;
- repeated string paired_controllers = 4;
+ optional EnrollmentStatus enrollment_status = 4;
+ repeated string paired_controllers = 5;
}
message HostStatus {