| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
| 6 #define NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 6 #define NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "base/timer.h" | 15 #include "base/timer.h" |
| 16 #include "net/base/host_port_pair.h" | 16 #include "net/base/host_port_pair.h" |
| 17 #include "net/base/host_resolver.h" | 17 #include "net/base/host_resolver.h" |
| 18 #include "net/base/single_request_host_resolver.h" |
| 18 #include "net/socket/client_socket_pool_base.h" | 19 #include "net/socket/client_socket_pool_base.h" |
| 19 #include "net/socket/client_socket_pool_histograms.h" | 20 #include "net/socket/client_socket_pool_histograms.h" |
| 20 #include "net/socket/client_socket_pool.h" | 21 #include "net/socket/client_socket_pool.h" |
| 21 | 22 |
| 22 namespace net { | 23 namespace net { |
| 23 | 24 |
| 24 class ClientSocketFactory; | 25 class ClientSocketFactory; |
| 25 | 26 |
| 26 class NET_TEST TransportSocketParams | 27 class NET_TEST TransportSocketParams |
| 27 : public base::RefCounted<TransportSocketParams> { | 28 : public base::RefCounted<TransportSocketParams> { |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 220 |
| 220 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool); | 221 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool); |
| 221 }; | 222 }; |
| 222 | 223 |
| 223 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool, | 224 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool, |
| 224 TransportSocketParams); | 225 TransportSocketParams); |
| 225 | 226 |
| 226 } // namespace net | 227 } // namespace net |
| 227 | 228 |
| 228 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 229 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |