diff options
author | Daniel Cheng <dcheng@chromium.org> | 2014-10-21 02:51:29 -0700 |
---|---|---|
committer | Daniel Cheng <dcheng@chromium.org> | 2014-10-21 09:52:23 +0000 |
commit | a542fca3ccd35033c2065fa3e7bed1247043b377 (patch) | |
tree | be0ed153cb1645a1bf02eb1ad1bb9b428cd4c722 /chrome/browser/content_settings/cookie_settings.h | |
parent | 716bedf160f4c4c1945cab54c3f490424a0eb779 (diff) | |
download | chromium_src-a542fca3ccd35033c2065fa3e7bed1247043b377.zip chromium_src-a542fca3ccd35033c2065fa3e7bed1247043b377.tar.gz chromium_src-a542fca3ccd35033c2065fa3e7bed1247043b377.tar.bz2 |
Standardize usage of virtual/override/final in chrome/browser/
BUG=417463
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/648653003
Cr-Commit-Position: refs/heads/master@{#300440}
Diffstat (limited to 'chrome/browser/content_settings/cookie_settings.h')
-rw-r--r-- | chrome/browser/content_settings/cookie_settings.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/content_settings/cookie_settings.h b/chrome/browser/content_settings/cookie_settings.h index 0dde884..8476ad2 100644 --- a/chrome/browser/content_settings/cookie_settings.h +++ b/chrome/browser/content_settings/cookie_settings.h @@ -90,7 +90,7 @@ class CookieSettings : public RefcountedKeyedService { // Detaches the |CookieSettings| from all |Profile|-related objects like // |PrefService|. This methods needs to be called before destroying the // |Profile|. Afterwards, only const methods can be called. - virtual void ShutdownOnUIThread() override; + void ShutdownOnUIThread() override; // A helper for applying third party cookie blocking rules. ContentSetting GetCookieSetting( @@ -114,19 +114,19 @@ class CookieSettings : public RefcountedKeyedService { friend struct DefaultSingletonTraits<Factory>; Factory(); - virtual ~Factory(); + ~Factory() override; // |BrowserContextKeyedBaseFactory| methods: - virtual void RegisterProfilePrefs( + void RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) override; - virtual content::BrowserContext* GetBrowserContextToUse( + content::BrowserContext* GetBrowserContextToUse( content::BrowserContext* context) const override; - virtual scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor( + scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor( content::BrowserContext* context) const override; }; private: - virtual ~CookieSettings(); + ~CookieSettings() override; void OnBlockThirdPartyCookiesChanged(); |