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_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_SOCKET_WEBSOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
6 #define NET_SOCKET_WEBSOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 6 #define NET_SOCKET_WEBSOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" |
19 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
20 #include "net/log/net_log.h" | 20 #include "net/log/net_log_with_source.h" |
21 #include "net/socket/client_socket_pool.h" | 21 #include "net/socket/client_socket_pool.h" |
22 #include "net/socket/client_socket_pool_base.h" | 22 #include "net/socket/client_socket_pool_base.h" |
23 #include "net/socket/transport_client_socket_pool.h" | 23 #include "net/socket/transport_client_socket_pool.h" |
24 | 24 |
| 25 namespace base { |
| 26 class DictionaryValue; |
| 27 } |
| 28 |
25 namespace net { | 29 namespace net { |
26 | 30 |
27 class ClientSocketFactory; | 31 class ClientSocketFactory; |
28 class HostResolver; | 32 class HostResolver; |
29 class NetLog; | 33 class NetLog; |
30 class WebSocketEndpointLockManager; | 34 class WebSocketEndpointLockManager; |
31 class WebSocketTransportConnectSubJob; | 35 class WebSocketTransportConnectSubJob; |
32 | 36 |
33 // WebSocketTransportConnectJob handles the host resolution necessary for socket | 37 // WebSocketTransportConnectJob handles the host resolution necessary for socket |
34 // creation and the TCP connect. WebSocketTransportConnectJob also has fallback | 38 // creation and the TCP connect. WebSocketTransportConnectJob also has fallback |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 bool flushing_; | 262 bool flushing_; |
259 | 263 |
260 base::WeakPtrFactory<WebSocketTransportClientSocketPool> weak_factory_; | 264 base::WeakPtrFactory<WebSocketTransportClientSocketPool> weak_factory_; |
261 | 265 |
262 DISALLOW_COPY_AND_ASSIGN(WebSocketTransportClientSocketPool); | 266 DISALLOW_COPY_AND_ASSIGN(WebSocketTransportClientSocketPool); |
263 }; | 267 }; |
264 | 268 |
265 } // namespace net | 269 } // namespace net |
266 | 270 |
267 #endif // NET_SOCKET_WEBSOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 271 #endif // NET_SOCKET_WEBSOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |