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

Unified Diff: chrome/browser/plugins/chrome_plugin_service_filter.h

Issue 649683010: Standardize usage of virtual/override/final in chrome/browser/plugins (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
« no previous file with comments | « no previous file | chrome/browser/plugins/plugin_info_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/chrome_plugin_service_filter.h
diff --git a/chrome/browser/plugins/chrome_plugin_service_filter.h b/chrome/browser/plugins/chrome_plugin_service_filter.h
index c4eb2c830b3b8d30f17287bef916e241fcdd1aff..bab42e0c49e265661263e9400e96ad55bea532b9 100644
--- a/chrome/browser/plugins/chrome_plugin_service_filter.h
+++ b/chrome/browser/plugins/chrome_plugin_service_filter.h
@@ -71,19 +71,17 @@ class ChromePluginServiceFilter : public content::PluginServiceFilter,
bool IsPluginRestricted(const base::FilePath& plugin_path);
// PluginServiceFilter implementation:
- virtual bool IsPluginAvailable(
- int render_process_id,
- int render_frame_id,
- const void* context,
- const GURL& url,
- const GURL& policy_url,
- content::WebPluginInfo* plugin) override;
+ bool IsPluginAvailable(int render_process_id,
+ int render_frame_id,
+ const void* context,
+ const GURL& url,
+ const GURL& policy_url,
+ content::WebPluginInfo* plugin) override;
// CanLoadPlugin always grants permission to the browser
// (render_process_id == 0)
- virtual bool CanLoadPlugin(
- int render_process_id,
- const base::FilePath& path) override;
+ bool CanLoadPlugin(int render_process_id,
+ const base::FilePath& path) override;
private:
friend struct DefaultSingletonTraits<ChromePluginServiceFilter>;
@@ -106,12 +104,12 @@ class ChromePluginServiceFilter : public content::PluginServiceFilter,
};
ChromePluginServiceFilter();
- virtual ~ChromePluginServiceFilter();
+ ~ChromePluginServiceFilter() override;
// content::NotificationObserver implementation:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
ProcessDetails* GetOrRegisterProcess(int render_process_id);
const ProcessDetails* GetProcess(int render_process_id) const;
« no previous file with comments | « no previous file | chrome/browser/plugins/plugin_info_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698