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_UDP_SOCKET_RESOURCE_BASE_H_ | 5 #ifndef PPAPI_PROXY_UDP_SOCKET_RESOURCE_BASE_H_ |
6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_BASE_H_ | 6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_BASE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <queue> | 11 #include <queue> |
9 | 12 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
13 #include "ppapi/c/ppb_udp_socket.h" | 16 #include "ppapi/c/ppb_udp_socket.h" |
14 #include "ppapi/c/private/ppb_net_address_private.h" | 17 #include "ppapi/c/private/ppb_net_address_private.h" |
15 #include "ppapi/proxy/plugin_resource.h" | 18 #include "ppapi/proxy/plugin_resource.h" |
16 #include "ppapi/proxy/ppapi_proxy_export.h" | 19 #include "ppapi/proxy/ppapi_proxy_export.h" |
17 #include "ppapi/proxy/udp_socket_filter.h" | 20 #include "ppapi/proxy/udp_socket_filter.h" |
18 #include "ppapi/shared_impl/tracked_callback.h" | 21 #include "ppapi/shared_impl/tracked_callback.h" |
19 | 22 |
20 namespace ppapi { | 23 namespace ppapi { |
21 namespace proxy { | 24 namespace proxy { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 109 |
107 std::queue<scoped_refptr<TrackedCallback>> sendto_callbacks_; | 110 std::queue<scoped_refptr<TrackedCallback>> sendto_callbacks_; |
108 | 111 |
109 DISALLOW_COPY_AND_ASSIGN(UDPSocketResourceBase); | 112 DISALLOW_COPY_AND_ASSIGN(UDPSocketResourceBase); |
110 }; | 113 }; |
111 | 114 |
112 } // namespace proxy | 115 } // namespace proxy |
113 } // namespace ppapi | 116 } // namespace ppapi |
114 | 117 |
115 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_BASE_H_ | 118 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_BASE_H_ |
OLD | NEW |