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

Unified Diff: components/user_manager/user.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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
« no previous file with comments | « components/translate/core/browser/translate_url_fetcher.h ('k') | components/user_prefs/user_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/user.h
diff --git a/components/user_manager/user.h b/components/user_manager/user.h
index 8759efbacd0ec328c4ab05cfef5a66130778693a..1a315534ad4b3530144969c88eff4f966d4ca3f5 100644
--- a/components/user_manager/user.h
+++ b/components/user_manager/user.h
@@ -85,11 +85,11 @@ class USER_MANAGER_EXPORT User : public UserInfo {
base::string16 display_name() const { return display_name_; }
// UserInfo
- virtual std::string GetEmail() const override;
- virtual base::string16 GetDisplayName() const override;
- virtual base::string16 GetGivenName() const override;
- virtual const gfx::ImageSkia& GetImage() const override;
- virtual std::string GetUserID() const override;
+ std::string GetEmail() const override;
+ base::string16 GetDisplayName() const override;
+ base::string16 GetGivenName() const override;
+ const gfx::ImageSkia& GetImage() const override;
+ std::string GetUserID() const override;
// Is user supervised.
virtual bool IsSupervised() const;
@@ -174,7 +174,7 @@ class USER_MANAGER_EXPORT User : public UserInfo {
static User* CreatePublicAccountUser(const std::string& email);
explicit User(const std::string& email);
- virtual ~User();
+ ~User() override;
const std::string* GetAccountLocale() const { return account_locale_.get(); }
« no previous file with comments | « components/translate/core/browser/translate_url_fetcher.h ('k') | components/user_prefs/user_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698