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

Unified Diff: ppapi/proxy/udp_socket_private_resource.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/proxy/truetype_font_singleton_resource.h ('k') | ppapi/proxy/udp_socket_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/udp_socket_private_resource.h
diff --git a/ppapi/proxy/udp_socket_private_resource.h b/ppapi/proxy/udp_socket_private_resource.h
index 899c5886b658a5afaec54af4bfeafeffa2abf73c..f335c6c948264a53f418522f2991b2defe7b83c3 100644
--- a/ppapi/proxy/udp_socket_private_resource.h
+++ b/ppapi/proxy/udp_socket_private_resource.h
@@ -19,27 +19,26 @@ class PPAPI_PROXY_EXPORT UDPSocketPrivateResource
public thunk::PPB_UDPSocket_Private_API {
public:
UDPSocketPrivateResource(Connection connection, PP_Instance instance);
- virtual ~UDPSocketPrivateResource();
+ ~UDPSocketPrivateResource() override;
// PluginResource implementation.
- virtual thunk::PPB_UDPSocket_Private_API*
- AsPPB_UDPSocket_Private_API() override;
+ thunk::PPB_UDPSocket_Private_API* AsPPB_UDPSocket_Private_API() override;
// PPB_UDPSocket_Private_API implementation.
- virtual int32_t SetSocketFeature(PP_UDPSocketFeature_Private name,
- PP_Var value) override;
- virtual int32_t Bind(const PP_NetAddress_Private* addr,
- scoped_refptr<TrackedCallback> callback) override;
- virtual PP_Bool GetBoundAddress(PP_NetAddress_Private* addr) override;
- virtual int32_t RecvFrom(char* buffer,
- int32_t num_bytes,
- scoped_refptr<TrackedCallback> callback) override;
- virtual PP_Bool GetRecvFromAddress(PP_NetAddress_Private* addr) override;
- virtual int32_t SendTo(const char* buffer,
- int32_t num_bytes,
- const PP_NetAddress_Private* addr,
- scoped_refptr<TrackedCallback> callback) override;
- virtual void Close() override;
+ int32_t SetSocketFeature(PP_UDPSocketFeature_Private name,
+ PP_Var value) override;
+ int32_t Bind(const PP_NetAddress_Private* addr,
+ scoped_refptr<TrackedCallback> callback) override;
+ PP_Bool GetBoundAddress(PP_NetAddress_Private* addr) override;
+ int32_t RecvFrom(char* buffer,
+ int32_t num_bytes,
+ scoped_refptr<TrackedCallback> callback) override;
+ PP_Bool GetRecvFromAddress(PP_NetAddress_Private* addr) override;
+ int32_t SendTo(const char* buffer,
+ int32_t num_bytes,
+ const PP_NetAddress_Private* addr,
+ scoped_refptr<TrackedCallback> callback) override;
+ void Close() override;
private:
DISALLOW_COPY_AND_ASSIGN(UDPSocketPrivateResource);
« no previous file with comments | « ppapi/proxy/truetype_font_singleton_resource.h ('k') | ppapi/proxy/udp_socket_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698