diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 05:38:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 12:38:39 +0000 |
commit | 9168b2fe3e30afa4fd9a9500ba0725edf97c20a3 (patch) | |
tree | bb288d5b7fccc259391b83b18b12368a0d516b21 /extensions/browser/updater | |
parent | ae36a4a3f2efd040be2e563b0bff0592b0a5b5a1 (diff) | |
download | chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.zip chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.gz chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.bz2 |
Standardize usage of virtual/override/final in extensions/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=yoz@chromium.org
Review URL: https://codereview.chromium.org/664933004
Cr-Commit-Position: refs/heads/master@{#300475}
Diffstat (limited to 'extensions/browser/updater')
-rw-r--r-- | extensions/browser/updater/extension_downloader.h | 14 | ||||
-rw-r--r-- | extensions/browser/updater/null_extension_cache.h | 22 | ||||
-rw-r--r-- | extensions/browser/updater/safe_manifest_parser.h | 4 |
3 files changed, 20 insertions, 20 deletions
diff --git a/extensions/browser/updater/extension_downloader.h b/extensions/browser/updater/extension_downloader.h index 6c0462c..d987a059 100644 --- a/extensions/browser/updater/extension_downloader.h +++ b/extensions/browser/updater/extension_downloader.h @@ -64,7 +64,7 @@ class ExtensionDownloader : public net::URLFetcherDelegate, // ExtensionDownloader. ExtensionDownloader(ExtensionDownloaderDelegate* delegate, net::URLRequestContextGetter* request_context); - virtual ~ExtensionDownloader(); + ~ExtensionDownloader() override; // Adds |extension| to the list of extensions to check for updates. // Returns false if the |extension| can't be updated due to invalid details. @@ -196,7 +196,7 @@ class ExtensionDownloader : public net::URLFetcherDelegate, void CreateManifestFetcher(); // net::URLFetcherDelegate implementation. - virtual void OnURLFetchComplete(const net::URLFetcher* source) override; + void OnURLFetchComplete(const net::URLFetcher* source) override; // Handles the result of a manifest fetch. void OnManifestFetchComplete(const GURL& url, @@ -256,11 +256,11 @@ class ExtensionDownloader : public net::URLFetcherDelegate, int response_code); // OAuth2TokenService::Consumer implementation. - virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, - const std::string& access_token, - const base::Time& expiration_time) override; - virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, - const GoogleServiceAuthError& error) override; + void OnGetTokenSuccess(const OAuth2TokenService::Request* request, + const std::string& access_token, + const base::Time& expiration_time) override; + void OnGetTokenFailure(const OAuth2TokenService::Request* request, + const GoogleServiceAuthError& error) override; ManifestFetchData* CreateManifestFetchData(const GURL& update_url, int request_id); diff --git a/extensions/browser/updater/null_extension_cache.h b/extensions/browser/updater/null_extension_cache.h index c4c9a1b..217dbe0 100644 --- a/extensions/browser/updater/null_extension_cache.h +++ b/extensions/browser/updater/null_extension_cache.h @@ -13,19 +13,19 @@ namespace extensions { class NullExtensionCache : public ExtensionCache { public: NullExtensionCache(); - virtual ~NullExtensionCache(); + ~NullExtensionCache() override; // ExtensionCache implementation. - virtual void Start(const base::Closure& callback) override; - virtual void Shutdown(const base::Closure& callback) override; - virtual void AllowCaching(const std::string& id) override; - virtual bool GetExtension(const std::string& id, - base::FilePath* file_path, - std::string* version) override; - virtual void PutExtension(const std::string& id, - const base::FilePath& file_path, - const std::string& version, - const PutExtensionCallback& callback) override; + void Start(const base::Closure& callback) override; + void Shutdown(const base::Closure& callback) override; + void AllowCaching(const std::string& id) override; + bool GetExtension(const std::string& id, + base::FilePath* file_path, + std::string* version) override; + void PutExtension(const std::string& id, + const base::FilePath& file_path, + const std::string& version, + const PutExtensionCallback& callback) override; private: DISALLOW_COPY_AND_ASSIGN(NullExtensionCache); diff --git a/extensions/browser/updater/safe_manifest_parser.h b/extensions/browser/updater/safe_manifest_parser.h index 2cbc3e6..3215fa3 100644 --- a/extensions/browser/updater/safe_manifest_parser.h +++ b/extensions/browser/updater/safe_manifest_parser.h @@ -33,13 +33,13 @@ class SafeManifestParser : public content::UtilityProcessHostClient { void Start(); private: - virtual ~SafeManifestParser(); + ~SafeManifestParser() override; // Creates the sandboxed utility process and tells it to start parsing. void ParseInSandbox(); // content::UtilityProcessHostClient implementation. - virtual bool OnMessageReceived(const IPC::Message& message) override; + bool OnMessageReceived(const IPC::Message& message) override; void OnParseUpdateManifestSucceeded(const UpdateManifest::Results& results); void OnParseUpdateManifestFailed(const std::string& error_message); |