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

Unified Diff: ppapi/host/resource_host.h

Issue 1097393007: Update {virtual,override} to follow C++11 style in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split off one file into separate review. Created 5 years, 8 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 | « ppapi/host/ppapi_host.h ('k') | ppapi/host/resource_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/resource_host.h
diff --git a/ppapi/host/resource_host.h b/ppapi/host/resource_host.h
index 517cf0a331f67d055542082c61fc6a098c61f521..6bf499608b7026da052a533237711aa6e075867c 100644
--- a/ppapi/host/resource_host.h
+++ b/ppapi/host/resource_host.h
@@ -31,7 +31,7 @@ class ResourceMessageFilter;
class PPAPI_HOST_EXPORT ResourceHost : public ResourceMessageHandler {
public:
ResourceHost(PpapiHost* host, PP_Instance instance, PP_Resource resource);
- virtual ~ResourceHost();
+ ~ResourceHost() override;
PpapiHost* host() { return host_; }
PP_Instance pp_instance() const { return pp_instance_; }
@@ -40,8 +40,8 @@ class PPAPI_HOST_EXPORT ResourceHost : public ResourceMessageHandler {
// This runs any message filters in |message_filters_|. If the message is not
// handled by these filters then the host's own message handler is run. True
// is always returned (the message will always be handled in some way).
- virtual bool HandleMessage(const IPC::Message& msg,
- HostMessageContext* context) override;
+ bool HandleMessage(const IPC::Message& msg,
+ HostMessageContext* context) override;
// Sets the PP_Resource ID when the plugin attaches to a pending resource
// host. This will notify subclasses by calling
@@ -51,8 +51,8 @@ class PPAPI_HOST_EXPORT ResourceHost : public ResourceMessageHandler {
// PpapiHostMsg_AttachToPendingHost.
void SetPPResourceForPendingHost(PP_Resource pp_resource);
- virtual void SendReply(const ReplyMessageContext& context,
- const IPC::Message& msg) override;
+ void SendReply(const ReplyMessageContext& context,
+ const IPC::Message& msg) override;
// Simple RTTI. A subclass that is a host for one of these APIs will override
// the appropriate function and return true.
« no previous file with comments | « ppapi/host/ppapi_host.h ('k') | ppapi/host/resource_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698