Index: components/pairing/fake_host_pairing_controller.h |
diff --git a/components/pairing/fake_host_pairing_controller.h b/components/pairing/fake_host_pairing_controller.h |
index 138963aad030cb00fe9d1f2e752df9a59cf2c70b..48335cea658f9bf704083666ec8690cbaad3ec1a 100644 |
--- a/components/pairing/fake_host_pairing_controller.h |
+++ b/components/pairing/fake_host_pairing_controller.h |
@@ -33,7 +33,11 @@ class FakeHostPairingController |
// Applies given |config| to flow. |
void ApplyConfig(const std::string& config); |
- // Overridden from HostPairingFlow: |
+ private: |
+ void ChangeStage(Stage new_stage); |
+ void ChangeStageLater(Stage new_stage); |
+ |
+ // HostPairingController: |
virtual void AddObserver(Observer* observer) override; |
virtual void RemoveObserver(Observer* observer) override; |
virtual Stage GetCurrentStage() override; |
@@ -42,13 +46,10 @@ class FakeHostPairingController |
virtual std::string GetConfirmationCode() override; |
virtual std::string GetEnrollmentDomain() override; |
virtual void OnUpdateStatusChanged(UpdateStatus update_status) override; |
- virtual void SetEnrollmentComplete(bool success) override; |
- |
- private: |
- void ChangeStage(Stage new_stage); |
- void ChangeStageLater(Stage new_stage); |
+ virtual void OnEnrollmentStatusChanged( |
+ EnrollmentStatus enrollment_status) override; |
- // HostPairingFlow::Observer: |
+ // HostPairingController::Observer: |
virtual void PairingStageChanged(Stage new_stage) override; |
virtual void ConfigureHost(bool accepted_eula, |
const std::string& lang, |