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

Unified Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
index 932fb0973ac08f9cbbc12eb32b641452dee4cc0a..bd0c61d7c59d72ecb34c47b4ea16e2e704b65c2b 100644
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
@@ -42,22 +42,21 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
const base::FilePath& profile_data_directory,
bool in_process,
bool external_plugin);
- virtual ~BrowserPpapiHostImpl();
+ ~BrowserPpapiHostImpl() override;
// BrowserPpapiHost.
- virtual ppapi::host::PpapiHost* GetPpapiHost() override;
- virtual base::ProcessHandle GetPluginProcessHandle() const override;
- virtual bool IsValidInstance(PP_Instance instance) const override;
- virtual bool GetRenderFrameIDsForInstance(PP_Instance instance,
- int* render_process_id,
- int* render_frame_id) const
- override;
- virtual const std::string& GetPluginName() override;
- virtual const base::FilePath& GetPluginPath() override;
- virtual const base::FilePath& GetProfileDataDirectory() override;
- virtual GURL GetDocumentURLForInstance(PP_Instance instance) override;
- virtual GURL GetPluginURLForInstance(PP_Instance instance) override;
- virtual void SetOnKeepaliveCallback(
+ ppapi::host::PpapiHost* GetPpapiHost() override;
+ base::ProcessHandle GetPluginProcessHandle() const override;
+ bool IsValidInstance(PP_Instance instance) const override;
+ bool GetRenderFrameIDsForInstance(PP_Instance instance,
+ int* render_process_id,
+ int* render_frame_id) const override;
+ const std::string& GetPluginName() override;
+ const base::FilePath& GetPluginPath() override;
+ const base::FilePath& GetProfileDataDirectory() override;
+ GURL GetDocumentURLForInstance(PP_Instance instance) override;
+ GURL GetPluginURLForInstance(PP_Instance instance) override;
+ void SetOnKeepaliveCallback(
const BrowserPpapiHost::OnKeepaliveCallback& callback) override;
void set_plugin_process_handle(base::ProcessHandle handle) {
@@ -93,12 +92,12 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
BrowserPpapiHostImpl* browser_ppapi_host_impl);
// IPC::MessageFilter.
- virtual bool OnMessageReceived(const IPC::Message& msg) override;
+ bool OnMessageReceived(const IPC::Message& msg) override;
void OnHostDestroyed();
private:
- virtual ~HostMessageFilter();
+ ~HostMessageFilter() override;
void OnKeepalive();
void OnHostMsgLogInterfaceUsage(int hash) const;

Powered by Google App Engine
This is Rietveld 408576698