Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: components/pairing/fake_host_pairing_controller.h

Issue 491943004: Update the pairing API to include configuration and enrollment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a071c5eca01d73eda1ff7ed77793bada3c10e899..ce63b096ac53711fc7f99bb369bbe1ff66cd65bd 100644
--- a/components/pairing/fake_host_pairing_controller.h
+++ b/components/pairing/fake_host_pairing_controller.h
@@ -41,15 +41,20 @@ class FakeHostPairingController
virtual std::string GetDeviceName() OVERRIDE;
virtual std::string GetConfirmationCode() OVERRIDE;
virtual std::string GetEnrollmentDomain() OVERRIDE;
+ virtual void OnUpdateStatusChanged(UpdateStatus update_status) OVERRIDE;
private:
void ChangeStage(Stage new_stage);
void ChangeStageLater(Stage new_stage);
- void SetUpdateProgress(int step);
- // Overridden from HostPairingFlow::Observer:
+ // HostPairingFlow::Observer:
virtual void PairingStageChanged(Stage new_stage) OVERRIDE;
- virtual void UpdateAdvanced(const UpdateProgress& progress) OVERRIDE;
+ virtual void ConfigureHost(bool accepted_eula,
+ const std::string& lang,
+ const std::string& timezone,
+ bool send_reports,
+ const std::string& keyboard_layout) OVERRIDE;
+ virtual void EnrollHost(const std::string& auth_token) OVERRIDE;
ObserverList<Observer> observers_;
Stage current_stage_;
« no previous file with comments | « components/pairing/fake_controller_pairing_controller.cc ('k') | components/pairing/fake_host_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698