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

Unified Diff: components/pairing/fake_host_pairing_controller.h

Issue 865973003: Update {virtual,override,final} to follow C++11 style in components, round 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix format Created 5 years, 11 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 48335cea658f9bf704083666ec8690cbaad3ec1a..8ef2f4bccbeb53f47a8e4a13d982d6d3daf8abe3 100644
--- a/components/pairing/fake_host_pairing_controller.h
+++ b/components/pairing/fake_host_pairing_controller.h
@@ -28,7 +28,7 @@ class FakeHostPairingController
// * device_name - string. Default: "Chromebox-01".
// * domain - string. Default: "example.com".
explicit FakeHostPairingController(const std::string& config);
- virtual ~FakeHostPairingController();
+ ~FakeHostPairingController() override;
// Applies given |config| to flow.
void ApplyConfig(const std::string& config);
@@ -38,25 +38,24 @@ class FakeHostPairingController
void ChangeStageLater(Stage new_stage);
// HostPairingController:
- virtual void AddObserver(Observer* observer) override;
- virtual void RemoveObserver(Observer* observer) override;
- virtual Stage GetCurrentStage() override;
- virtual void StartPairing() override;
- virtual std::string GetDeviceName() override;
- virtual std::string GetConfirmationCode() override;
- virtual std::string GetEnrollmentDomain() override;
- virtual void OnUpdateStatusChanged(UpdateStatus update_status) override;
- virtual void OnEnrollmentStatusChanged(
- EnrollmentStatus enrollment_status) override;
+ void AddObserver(Observer* observer) override;
+ void RemoveObserver(Observer* observer) override;
+ Stage GetCurrentStage() override;
+ void StartPairing() override;
+ std::string GetDeviceName() override;
+ std::string GetConfirmationCode() override;
+ std::string GetEnrollmentDomain() override;
+ void OnUpdateStatusChanged(UpdateStatus update_status) override;
+ void OnEnrollmentStatusChanged(EnrollmentStatus enrollment_status) override;
// HostPairingController::Observer:
- virtual void PairingStageChanged(Stage new_stage) 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;
+ void PairingStageChanged(Stage new_stage) override;
+ void ConfigureHost(bool accepted_eula,
+ const std::string& lang,
+ const std::string& timezone,
+ bool send_reports,
+ const std::string& keyboard_layout) override;
+ 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.h ('k') | components/pairing/shark_connection_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698