| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FILTER_H_ | 5 #ifndef PPAPI_PROXY_UDP_SOCKET_FILTER_H_ |
| 6 #define PPAPI_PROXY_UDP_SOCKET_FILTER_H_ | 6 #define PPAPI_PROXY_UDP_SOCKET_FILTER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <queue> | 11 #include <queue> |
| 9 #include <string> | 12 #include <string> |
| 10 | 13 |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 13 #include "base/containers/scoped_ptr_hash_map.h" | 15 #include "base/containers/scoped_ptr_hash_map.h" |
| 14 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 15 #include "ppapi/c/ppb_udp_socket.h" | 17 #include "ppapi/c/ppb_udp_socket.h" |
| 16 #include "ppapi/c/private/ppb_net_address_private.h" | 18 #include "ppapi/c/private/ppb_net_address_private.h" |
| 17 #include "ppapi/proxy/plugin_resource.h" | 19 #include "ppapi/proxy/plugin_resource.h" |
| 18 #include "ppapi/proxy/ppapi_proxy_export.h" | 20 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 19 #include "ppapi/proxy/resource_message_filter.h" | 21 #include "ppapi/proxy/resource_message_filter.h" |
| 20 #include "ppapi/shared_impl/tracked_callback.h" | 22 #include "ppapi/shared_impl/tracked_callback.h" |
| 21 | 23 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // 1 ppapi::ProxyLock | 130 // 1 ppapi::ProxyLock |
| 129 // \-->2 Filter lock_ | 131 // \-->2 Filter lock_ |
| 130 mutable base::Lock lock_; | 132 mutable base::Lock lock_; |
| 131 base::ScopedPtrHashMap<PP_Resource, scoped_ptr<RecvQueue>> queues_; | 133 base::ScopedPtrHashMap<PP_Resource, scoped_ptr<RecvQueue>> queues_; |
| 132 }; | 134 }; |
| 133 | 135 |
| 134 } // namespace proxy | 136 } // namespace proxy |
| 135 } // namespace ppapi | 137 } // namespace ppapi |
| 136 | 138 |
| 137 #endif // PPAPI_PROXY_UDP_SOCKET_FILTER_H_ | 139 #endif // PPAPI_PROXY_UDP_SOCKET_FILTER_H_ |
| OLD | NEW |