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

Unified Diff: chrome/browser/supervised_user/supervised_user_registration_utility.cc

Issue 652473004: Standardize usage of virtual/override/final in chrome/browser/supervised_user/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: chrome/browser/supervised_user/supervised_user_registration_utility.cc
diff --git a/chrome/browser/supervised_user/supervised_user_registration_utility.cc b/chrome/browser/supervised_user/supervised_user_registration_utility.cc
index 8be4ec12ccc7517388bee4a9932b223411aa781f..16de28f91ca9662b03f91f7698f765a6e24d2fda 100644
--- a/chrome/browser/supervised_user/supervised_user_registration_utility.cc
+++ b/chrome/browser/supervised_user/supervised_user_registration_utility.cc
@@ -49,7 +49,7 @@ class SupervisedUserRegistrationUtilityImpl
SupervisedUserSyncService* service,
SupervisedUserSharedSettingsService* shared_settings_service);
- virtual ~SupervisedUserRegistrationUtilityImpl();
+ ~SupervisedUserRegistrationUtilityImpl() override;
// Registers a new supervised user with the server. |supervised_user_id| is a
// new unique ID for the new supervised user. If its value is the same as that
@@ -59,15 +59,15 @@ class SupervisedUserRegistrationUtilityImpl
// the user and his avatar. |callback| is called with the result of the
// registration. We use the info here and not the profile, because on Chrome
// OS the profile of the supervised user does not yet exist.
- virtual void Register(const std::string& supervised_user_id,
- const SupervisedUserRegistrationInfo& info,
- const RegistrationCallback& callback) override;
+ void Register(const std::string& supervised_user_id,
+ const SupervisedUserRegistrationInfo& info,
+ const RegistrationCallback& callback) override;
// SupervisedUserSyncServiceObserver:
- virtual void OnSupervisedUserAcknowledged(
+ void OnSupervisedUserAcknowledged(
const std::string& supervised_user_id) override;
- virtual void OnSupervisedUsersSyncingStopped() override;
- virtual void OnSupervisedUsersChanged() override;
+ void OnSupervisedUsersSyncingStopped() override;
+ void OnSupervisedUsersChanged() override;
private:
// Fetches the supervised user token when we have the device name.

Powered by Google App Engine
This is Rietveld 408576698