| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SOCKS_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ |
| 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ | 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.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 "net/base/host_port_pair.h" | 15 #include "net/base/host_port_pair.h" |
| 16 #include "net/base/host_resolver.h" | 16 #include "net/dns/host_resolver.h" |
| 17 #include "net/socket/client_socket_pool.h" |
| 17 #include "net/socket/client_socket_pool_base.h" | 18 #include "net/socket/client_socket_pool_base.h" |
| 18 #include "net/socket/client_socket_pool_histograms.h" | 19 #include "net/socket/client_socket_pool_histograms.h" |
| 19 #include "net/socket/client_socket_pool.h" | |
| 20 | 20 |
| 21 namespace net { | 21 namespace net { |
| 22 | 22 |
| 23 class ConnectJobFactory; | 23 class ConnectJobFactory; |
| 24 class TransportClientSocketPool; | 24 class TransportClientSocketPool; |
| 25 class TransportSocketParams; | 25 class TransportSocketParams; |
| 26 | 26 |
| 27 class NET_EXPORT_PRIVATE SOCKSSocketParams | 27 class NET_EXPORT_PRIVATE SOCKSSocketParams |
| 28 : public base::RefCounted<SOCKSSocketParams> { | 28 : public base::RefCounted<SOCKSSocketParams> { |
| 29 public: | 29 public: |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 PoolBase base_; | 202 PoolBase base_; |
| 203 | 203 |
| 204 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); | 204 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams); | 207 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams); |
| 208 | 208 |
| 209 } // namespace net | 209 } // namespace net |
| 210 | 210 |
| 211 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ | 211 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |