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_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_TCP_SOCKET_RESOURCE_H_ |
6 #define PPAPI_PROXY_TCP_SOCKET_RESOURCE_H_ | 6 #define PPAPI_PROXY_TCP_SOCKET_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_api.h" | 13 #include "ppapi/thunk/ppb_tcp_socket_api.h" |
12 | 14 |
13 namespace ppapi { | 15 namespace ppapi { |
14 | 16 |
15 enum TCPSocketVersion; | 17 enum TCPSocketVersion; |
16 | 18 |
17 namespace proxy { | 19 namespace proxy { |
18 | 20 |
19 class PPAPI_PROXY_EXPORT TCPSocketResource : public thunk::PPB_TCPSocket_API, | 21 class PPAPI_PROXY_EXPORT TCPSocketResource : public thunk::PPB_TCPSocket_API, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const PP_NetAddress_Private& local_addr, | 71 const PP_NetAddress_Private& local_addr, |
70 const PP_NetAddress_Private& remote_addr); | 72 const PP_NetAddress_Private& remote_addr); |
71 | 73 |
72 DISALLOW_COPY_AND_ASSIGN(TCPSocketResource); | 74 DISALLOW_COPY_AND_ASSIGN(TCPSocketResource); |
73 }; | 75 }; |
74 | 76 |
75 } // namespace proxy | 77 } // namespace proxy |
76 } // namespace ppapi | 78 } // namespace ppapi |
77 | 79 |
78 #endif // PPAPI_PROXY_TCP_SOCKET_RESOURCE_H_ | 80 #endif // PPAPI_PROXY_TCP_SOCKET_RESOURCE_H_ |
OLD | NEW |