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

Unified Diff: chrome/browser/extensions/active_tab_permission_granter.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/active_tab_permission_granter.h
diff --git a/chrome/browser/extensions/active_tab_permission_granter.h b/chrome/browser/extensions/active_tab_permission_granter.h
index 68b31f754af7b29009a87102c020b79da29049cd..498c6e82c5631f51db4ce5534e8ac3745e344db8 100644
--- a/chrome/browser/extensions/active_tab_permission_granter.h
+++ b/chrome/browser/extensions/active_tab_permission_granter.h
@@ -34,7 +34,7 @@ class ActiveTabPermissionGranter
ActiveTabPermissionGranter(content::WebContents* web_contents,
int tab_id,
Profile* profile);
- virtual ~ActiveTabPermissionGranter();
+ ~ActiveTabPermissionGranter() override;
// If |extension| has the activeTab or tabCapture permission, grants
// tab-specific permissions to it until the next page navigation or refresh.
@@ -42,16 +42,15 @@ class ActiveTabPermissionGranter
private:
// content::WebContentsObserver implementation.
- virtual void DidNavigateMainFrame(
+ void DidNavigateMainFrame(
const content::LoadCommittedDetails& details,
const content::FrameNavigateParams& params) override;
- virtual void WebContentsDestroyed() override;
+ void WebContentsDestroyed() override;
// extensions::ExtensionRegistryObserver implementation.
- virtual void OnExtensionUnloaded(content::BrowserContext* browser_context,
- const Extension* extension,
- UnloadedExtensionInfo::Reason reason)
- override;
+ void OnExtensionUnloaded(content::BrowserContext* browser_context,
+ const Extension* extension,
+ UnloadedExtensionInfo::Reason reason) override;
// Clears any tab-specific permissions for all extensions on |tab_id_| and
// notifies renderers.

Powered by Google App Engine
This is Rietveld 408576698