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

Unified Diff: chrome/browser/extensions/api/webstore/webstore_api.h

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (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/extensions/api/webstore/webstore_api.h
diff --git a/chrome/browser/extensions/api/webstore/webstore_api.h b/chrome/browser/extensions/api/webstore/webstore_api.h
index f5ecc50a1011fde4ebdd1033c542d1646a2dbf76..8581026fca8daee9e0dafdc1a7c70b3c588a4b76 100644
--- a/chrome/browser/extensions/api/webstore/webstore_api.h
+++ b/chrome/browser/extensions/api/webstore/webstore_api.h
@@ -34,7 +34,7 @@ class WebstoreAPI : public BrowserContextKeyedAPI,
public InstallObserver {
public:
explicit WebstoreAPI(content::BrowserContext* browser_context);
- virtual ~WebstoreAPI();
+ ~WebstoreAPI() override;
static WebstoreAPI* Get(content::BrowserContext* browser_context);
@@ -76,15 +76,14 @@ class WebstoreAPI : public BrowserContextKeyedAPI,
ObservedInstallInfoList* listeners);
// InstallObserver implementation.
- virtual void OnBeginExtensionDownload(const std::string& extension_id)
- override;
- virtual void OnDownloadProgress(const std::string& extension_id,
- int percent_downloaded) override;
- virtual void OnBeginCrxInstall(const std::string& extension_id) override;
- virtual void OnShutdown() override;
+ void OnBeginExtensionDownload(const std::string& extension_id) override;
+ void OnDownloadProgress(const std::string& extension_id,
+ int percent_downloaded) override;
+ void OnBeginCrxInstall(const std::string& extension_id) override;
+ void OnShutdown() override;
// BrowserContextKeyedService implementation.
- virtual void Shutdown() override;
+ void Shutdown() override;
// BrowserContextKeyedAPI implementation.
static const char* service_name() { return "WebstoreAPI"; }

Powered by Google App Engine
This is Rietveld 408576698