* 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}
diff --git a/components/pairing/pairing_api.proto b/components/pairing/pairing_api.proto
index 98eab7a..0d8e6680 100644
--- a/components/pairing/pairing_api.proto
+++ b/components/pairing/pairing_api.proto
@@ -26,10 +26,18 @@
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 {