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

Unified Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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/ui/webui/signin/user_manager_screen_handler.h
diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
index a2a88a9ad367f90984d868c17b14f62b9ef86a97..eb04e1f546cc3086b023c4a937626e40bcf17e78 100644
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
@@ -35,34 +35,34 @@ class UserManagerScreenHandler : public content::WebUIMessageHandler,
public content::NotificationObserver {
public:
UserManagerScreenHandler();
- virtual ~UserManagerScreenHandler();
+ ~UserManagerScreenHandler() override;
// WebUIMessageHandler implementation.
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
void GetLocalizedValues(base::DictionaryValue* localized_strings);
// content::NotificationObserver implementation:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// ScreenlockBridge::LockHandler implementation.
- virtual void ShowBannerMessage(const base::string16& message) override;
- virtual void ShowUserPodCustomIcon(
+ void ShowBannerMessage(const base::string16& message) override;
+ void ShowUserPodCustomIcon(
const std::string& user_email,
const ScreenlockBridge::UserPodCustomIconOptions& icon_options) override;
- virtual void HideUserPodCustomIcon(const std::string& user_email) override;
- virtual void EnableInput() override;
- virtual void SetAuthType(const std::string& user_email,
- ScreenlockBridge::LockHandler::AuthType auth_type,
- const base::string16& auth_value) override;
- virtual ScreenlockBridge::LockHandler::AuthType GetAuthType(
+ void HideUserPodCustomIcon(const std::string& user_email) override;
+ void EnableInput() override;
+ void SetAuthType(const std::string& user_email,
+ ScreenlockBridge::LockHandler::AuthType auth_type,
+ const base::string16& auth_value) override;
+ ScreenlockBridge::LockHandler::AuthType GetAuthType(
const std::string& user_email) const override;
- virtual void Unlock(const std::string& user_email) override;
- virtual void AttemptEasySignin(const std::string& user_email,
- const std::string& secret,
- const std::string& key_label) override;
+ void Unlock(const std::string& user_email) override;
+ void AttemptEasySignin(const std::string& user_email,
+ const std::string& secret,
+ const std::string& key_label) override;
private:
// An observer for any changes to Profiles in the ProfileInfoCache so that
@@ -79,9 +79,8 @@ class UserManagerScreenHandler : public content::WebUIMessageHandler,
void HandleHardlockUserPod(const base::ListValue* args);
// Handle GAIA auth results.
- virtual void OnClientLoginSuccess(const ClientLoginResult& result) override;
- virtual void OnClientLoginFailure(const GoogleServiceAuthError& error)
- override;
+ void OnClientLoginSuccess(const ClientLoginResult& result) override;
+ void OnClientLoginFailure(const GoogleServiceAuthError& error) override;
// Handle when Notified of a NOTIFICATION_BROWSER_WINDOW_READY event.
void OnBrowserWindowReady(Browser* browser);

Powered by Google App Engine
This is Rietveld 408576698