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 // ClientSocketPoolManager manages access to all ClientSocketPools. It's a | 5 // ClientSocketPoolManager manages access to all ClientSocketPools. It's a |
6 // simple container for all of them. Most importantly, it handles the lifetime | 6 // simple container for all of them. Most importantly, it handles the lifetime |
7 // and destruction order properly. | 7 // and destruction order properly. |
8 | 8 |
9 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ | 9 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ |
10 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ | 10 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ |
11 #pragma once | 11 #pragma once |
12 | 12 |
13 #include <map> | 13 #include <map> |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/stl_util-inl.h" | 17 #include "base/stl_util.h" |
18 #include "base/template_util.h" | 18 #include "base/template_util.h" |
19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
20 #include "net/base/cert_database.h" | 20 #include "net/base/cert_database.h" |
21 #include "net/base/completion_callback.h" | 21 #include "net/base/completion_callback.h" |
22 #include "net/base/net_api.h" | 22 #include "net/base/net_api.h" |
23 #include "net/base/request_priority.h" | 23 #include "net/base/request_priority.h" |
24 #include "net/socket/client_socket_pool_histograms.h" | 24 #include "net/socket/client_socket_pool_histograms.h" |
25 | 25 |
26 class GURL; | 26 class GURL; |
27 | 27 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 219 |
220 ClientSocketPoolHistograms ssl_socket_pool_for_proxies_histograms_; | 220 ClientSocketPoolHistograms ssl_socket_pool_for_proxies_histograms_; |
221 SSLSocketPoolMap ssl_socket_pools_for_proxies_; | 221 SSLSocketPoolMap ssl_socket_pools_for_proxies_; |
222 | 222 |
223 DISALLOW_COPY_AND_ASSIGN(ClientSocketPoolManager); | 223 DISALLOW_COPY_AND_ASSIGN(ClientSocketPoolManager); |
224 }; | 224 }; |
225 | 225 |
226 } // namespace net | 226 } // namespace net |
227 | 227 |
228 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ | 228 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ |
OLD | NEW |