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

Side by Side Diff: ppapi/proxy/udp_socket_resource.h

Issue 630883002: replace OVERRIDE and FINAL with override and final in ppapi/ (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 unified diff | Download patch
« no previous file with comments | « ppapi/proxy/udp_socket_private_resource.h ('k') | ppapi/proxy/udp_socket_resource_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_
6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ 6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/proxy/ppapi_proxy_export.h" 10 #include "ppapi/proxy/ppapi_proxy_export.h"
11 #include "ppapi/proxy/udp_socket_resource_base.h" 11 #include "ppapi/proxy/udp_socket_resource_base.h"
12 #include "ppapi/thunk/ppb_udp_socket_api.h" 12 #include "ppapi/thunk/ppb_udp_socket_api.h"
13 13
14 namespace ppapi { 14 namespace ppapi {
15 namespace proxy { 15 namespace proxy {
16 16
17 class PPAPI_PROXY_EXPORT UDPSocketResource : public UDPSocketResourceBase, 17 class PPAPI_PROXY_EXPORT UDPSocketResource : public UDPSocketResourceBase,
18 public thunk::PPB_UDPSocket_API { 18 public thunk::PPB_UDPSocket_API {
19 public: 19 public:
20 UDPSocketResource(Connection connection, PP_Instance instance); 20 UDPSocketResource(Connection connection, PP_Instance instance);
21 virtual ~UDPSocketResource(); 21 virtual ~UDPSocketResource();
22 22
23 // PluginResource implementation. 23 // PluginResource implementation.
24 virtual thunk::PPB_UDPSocket_API* AsPPB_UDPSocket_API() OVERRIDE; 24 virtual thunk::PPB_UDPSocket_API* AsPPB_UDPSocket_API() override;
25 25
26 // thunk::PPB_UDPSocket_API implementation. 26 // thunk::PPB_UDPSocket_API implementation.
27 virtual int32_t Bind(PP_Resource addr, 27 virtual int32_t Bind(PP_Resource addr,
28 scoped_refptr<TrackedCallback> callback) OVERRIDE; 28 scoped_refptr<TrackedCallback> callback) override;
29 virtual PP_Resource GetBoundAddress() OVERRIDE; 29 virtual PP_Resource GetBoundAddress() override;
30 virtual int32_t RecvFrom(char* buffer, 30 virtual int32_t RecvFrom(char* buffer,
31 int32_t num_bytes, 31 int32_t num_bytes,
32 PP_Resource* addr, 32 PP_Resource* addr,
33 scoped_refptr<TrackedCallback> callback) OVERRIDE; 33 scoped_refptr<TrackedCallback> callback) override;
34 virtual int32_t SendTo(const char* buffer, 34 virtual int32_t SendTo(const char* buffer,
35 int32_t num_bytes, 35 int32_t num_bytes,
36 PP_Resource addr, 36 PP_Resource addr,
37 scoped_refptr<TrackedCallback> callback) OVERRIDE; 37 scoped_refptr<TrackedCallback> callback) override;
38 virtual void Close() OVERRIDE; 38 virtual void Close() override;
39 virtual int32_t SetOption(PP_UDPSocket_Option name, 39 virtual int32_t SetOption(PP_UDPSocket_Option name,
40 const PP_Var& value, 40 const PP_Var& value,
41 scoped_refptr<TrackedCallback> callback) OVERRIDE; 41 scoped_refptr<TrackedCallback> callback) override;
42 42
43 private: 43 private:
44 DISALLOW_COPY_AND_ASSIGN(UDPSocketResource); 44 DISALLOW_COPY_AND_ASSIGN(UDPSocketResource);
45 }; 45 };
46 46
47 } // namespace proxy 47 } // namespace proxy
48 } // namespace ppapi 48 } // namespace ppapi
49 49
50 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ 50 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/udp_socket_private_resource.h ('k') | ppapi/proxy/udp_socket_resource_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698