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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_result.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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/ui/app_list/search/webstore/webstore_result.h
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_result.h b/chrome/browser/ui/app_list/search/webstore/webstore_result.h
index 3a6c1eb538515e56adb88a701aeec3f2c328d2d0..dbee962152f7511bf183d955b908cc321d465a0d 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.h
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.h
@@ -37,7 +37,7 @@ class WebstoreResult : public SearchResult,
bool is_paid,
extensions::Manifest::Type item_type,
AppListControllerDelegate* controller);
- virtual ~WebstoreResult();
+ ~WebstoreResult() override;
const std::string& app_id() const { return app_id_; }
const GURL& icon_url() const { return icon_url_; }
@@ -45,9 +45,9 @@ class WebstoreResult : public SearchResult,
bool is_paid() const { return is_paid_; }
// SearchResult overrides:
- virtual void Open(int event_flags) override;
- virtual void InvokeAction(int action_index, int event_flags) override;
- virtual scoped_ptr<SearchResult> Duplicate() override;
+ void Open(int event_flags) override;
+ void InvokeAction(int action_index, int event_flags) override;
+ scoped_ptr<SearchResult> Duplicate() override;
private:
// Set the initial state and start observing both InstallObserver and
@@ -69,16 +69,15 @@ class WebstoreResult : public SearchResult,
void StopObservingRegistry();
// extensions::InstallObserver overrides:
- virtual void OnDownloadProgress(const std::string& extension_id,
- int percent_downloaded) override;
- virtual void OnShutdown() override;
+ void OnDownloadProgress(const std::string& extension_id,
+ int percent_downloaded) override;
+ void OnShutdown() override;
// extensions::ExtensionRegistryObserver overides:
- virtual void OnExtensionInstalled(
- content::BrowserContext* browser_context,
- const extensions::Extension* extension,
- bool is_update) override;
- virtual void OnShutdown(extensions::ExtensionRegistry* registry) override;
+ void OnExtensionInstalled(content::BrowserContext* browser_context,
+ const extensions::Extension* extension,
+ bool is_update) override;
+ void OnShutdown(extensions::ExtensionRegistry* registry) override;
Profile* profile_;
const std::string app_id_;

Powered by Google App Engine
This is Rietveld 408576698