Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: net/socket/client_socket_pool_manager_impl.h

Issue 2363653002: Cleanup unreachable cert adding code (Closed)
Patch Set: Rebased Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/socket/client_socket_factory.cc ('k') | net/socket/client_socket_pool_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ 5 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_
6 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ 6 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <type_traits> 10 #include <type_traits>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy( 65 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy(
66 const HostPortPair& http_proxy) override; 66 const HostPortPair& http_proxy) override;
67 67
68 SSLClientSocketPool* GetSocketPoolForSSLWithProxy( 68 SSLClientSocketPool* GetSocketPoolForSSLWithProxy(
69 const HostPortPair& proxy_server) override; 69 const HostPortPair& proxy_server) override;
70 70
71 // Creates a Value summary of the state of the socket pools. 71 // Creates a Value summary of the state of the socket pools.
72 std::unique_ptr<base::Value> SocketPoolInfoToValue() const override; 72 std::unique_ptr<base::Value> SocketPoolInfoToValue() const override;
73 73
74 // CertDatabase::Observer methods: 74 // CertDatabase::Observer methods:
75 void OnCertAdded(const X509Certificate* cert) override; 75 void OnCertDBChanged(const X509Certificate* cert) override;
76 void OnCACertChanged(const X509Certificate* cert) override;
77 76
78 private: 77 private:
79 using TransportSocketPoolMap = 78 using TransportSocketPoolMap =
80 std::map<HostPortPair, std::unique_ptr<TransportClientSocketPool>>; 79 std::map<HostPortPair, std::unique_ptr<TransportClientSocketPool>>;
81 using SOCKSSocketPoolMap = 80 using SOCKSSocketPoolMap =
82 std::map<HostPortPair, std::unique_ptr<SOCKSClientSocketPool>>; 81 std::map<HostPortPair, std::unique_ptr<SOCKSClientSocketPool>>;
83 using HTTPProxySocketPoolMap = 82 using HTTPProxySocketPoolMap =
84 std::map<HostPortPair, std::unique_ptr<HttpProxyClientSocketPool>>; 83 std::map<HostPortPair, std::unique_ptr<HttpProxyClientSocketPool>>;
85 using SSLSocketPoolMap = 84 using SSLSocketPoolMap =
86 std::map<HostPortPair, std::unique_ptr<SSLClientSocketPool>>; 85 std::map<HostPortPair, std::unique_ptr<SSLClientSocketPool>>;
(...skipping 22 matching lines...) Expand all
109 SSLSocketPoolMap ssl_socket_pools_for_https_proxies_; 108 SSLSocketPoolMap ssl_socket_pools_for_https_proxies_;
110 HTTPProxySocketPoolMap http_proxy_socket_pools_; 109 HTTPProxySocketPoolMap http_proxy_socket_pools_;
111 SSLSocketPoolMap ssl_socket_pools_for_proxies_; 110 SSLSocketPoolMap ssl_socket_pools_for_proxies_;
112 111
113 DISALLOW_COPY_AND_ASSIGN(ClientSocketPoolManagerImpl); 112 DISALLOW_COPY_AND_ASSIGN(ClientSocketPoolManagerImpl);
114 }; 113 };
115 114
116 } // namespace net 115 } // namespace net
117 116
118 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ 117 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_factory.cc ('k') | net/socket/client_socket_pool_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698