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

Unified Diff: chrome/browser/password_manager/password_store_factory.h

Issue 659563005: Standardize usage of virtual/override/final in chrome/browser/password_manager (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/password_manager/password_store_factory.h
diff --git a/chrome/browser/password_manager/password_store_factory.h b/chrome/browser/password_manager/password_store_factory.h
index 2a2676548d3a819caad9fca35d9e4452dba4b23f..60141401ac4b812a656a8ae5d770420d82a93066 100644
--- a/chrome/browser/password_manager/password_store_factory.h
+++ b/chrome/browser/password_manager/password_store_factory.h
@@ -32,12 +32,12 @@ class PasswordStoreService : public KeyedService {
// Init() was already called successfully on it.
explicit PasswordStoreService(
scoped_refptr<password_manager::PasswordStore> password_store);
- virtual ~PasswordStoreService();
+ ~PasswordStoreService() override;
scoped_refptr<password_manager::PasswordStore> GetPasswordStore();
// KeyedService implementation.
- virtual void Shutdown() override;
+ void Shutdown() override;
private:
scoped_refptr<password_manager::PasswordStore> password_store_;
@@ -58,20 +58,20 @@ class PasswordStoreFactory : public BrowserContextKeyedServiceFactory {
friend struct DefaultSingletonTraits<PasswordStoreFactory>;
PasswordStoreFactory();
- virtual ~PasswordStoreFactory();
+ ~PasswordStoreFactory() override;
#if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
LocalProfileId GetLocalProfileId(PrefService* prefs) const;
#endif
// BrowserContextKeyedServiceFactory:
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
- virtual void RegisterProfilePrefs(
+ void RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) override;
- virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
- virtual bool ServiceIsNULLWhileTesting() const override;
+ bool ServiceIsNULLWhileTesting() const override;
DISALLOW_COPY_AND_ASSIGN(PasswordStoreFactory);
};
« no previous file with comments | « chrome/browser/password_manager/password_manager_browsertest.cc ('k') | chrome/browser/password_manager/password_store_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698