OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 NET_SOCKET_WEBSOCKET_ENDPOINT_LOCK_MANAGER_H_ | 5 #ifndef NET_SOCKET_WEBSOCKET_ENDPOINT_LOCK_MANAGER_H_ |
6 #define NET_SOCKET_WEBSOCKET_ENDPOINT_LOCK_MANAGER_H_ | 6 #define NET_SOCKET_WEBSOCKET_ENDPOINT_LOCK_MANAGER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/containers/linked_list.h" | 12 #include "base/containers/linked_list.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
15 #include "net/base/ip_endpoint.h" | 17 #include "net/base/ip_endpoint.h" |
16 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
17 #include "net/socket/websocket_transport_client_socket_pool.h" | 19 #include "net/socket/websocket_transport_client_socket_pool.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 base::WeakPtrFactory<WebSocketEndpointLockManager> weak_factory_; | 149 base::WeakPtrFactory<WebSocketEndpointLockManager> weak_factory_; |
148 | 150 |
149 friend struct base::DefaultSingletonTraits<WebSocketEndpointLockManager>; | 151 friend struct base::DefaultSingletonTraits<WebSocketEndpointLockManager>; |
150 | 152 |
151 DISALLOW_COPY_AND_ASSIGN(WebSocketEndpointLockManager); | 153 DISALLOW_COPY_AND_ASSIGN(WebSocketEndpointLockManager); |
152 }; | 154 }; |
153 | 155 |
154 } // namespace net | 156 } // namespace net |
155 | 157 |
156 #endif // NET_SOCKET_WEBSOCKET_ENDPOINT_LOCK_MANAGER_H_ | 158 #endif // NET_SOCKET_WEBSOCKET_ENDPOINT_LOCK_MANAGER_H_ |
OLD | NEW |