OLD | NEW |
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_TCP_SOCKET_PRIVATE_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_TCP_SOCKET_PRIVATE_RESOURCE_H_ |
6 #define PPAPI_PROXY_TCP_SOCKET_PRIVATE_RESOURCE_H_ | 6 #define PPAPI_PROXY_TCP_SOCKET_PRIVATE_RESOURCE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
10 #include "ppapi/proxy/tcp_socket_resource_base.h" | 12 #include "ppapi/proxy/tcp_socket_resource_base.h" |
11 #include "ppapi/thunk/ppb_tcp_socket_private_api.h" | 13 #include "ppapi/thunk/ppb_tcp_socket_private_api.h" |
12 | 14 |
13 namespace ppapi { | 15 namespace ppapi { |
14 namespace proxy { | 16 namespace proxy { |
15 | 17 |
16 class PPAPI_PROXY_EXPORT TCPSocketPrivateResource | 18 class PPAPI_PROXY_EXPORT TCPSocketPrivateResource |
17 : public thunk::PPB_TCPSocket_Private_API, | 19 : public thunk::PPB_TCPSocket_Private_API, |
18 public TCPSocketResourceBase { | 20 public TCPSocketResourceBase { |
19 public: | 21 public: |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 const PP_NetAddress_Private& remote_addr) override; | 68 const PP_NetAddress_Private& remote_addr) override; |
67 | 69 |
68 private: | 70 private: |
69 DISALLOW_COPY_AND_ASSIGN(TCPSocketPrivateResource); | 71 DISALLOW_COPY_AND_ASSIGN(TCPSocketPrivateResource); |
70 }; | 72 }; |
71 | 73 |
72 } // namespace proxy | 74 } // namespace proxy |
73 } // namespace ppapi | 75 } // namespace ppapi |
74 | 76 |
75 #endif // PPAPI_PROXY_TCP_SOCKET_PRIVATE_RESOURCE_H_ | 77 #endif // PPAPI_PROXY_TCP_SOCKET_PRIVATE_RESOURCE_H_ |
OLD | NEW |