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

Side by Side Diff: net/spdy/spdy_session_pool.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_pool_manager_impl.cc ('k') | net/spdy/spdy_session_pool.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_SPDY_SPDY_SESSION_POOL_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_POOL_H_
6 #define NET_SPDY_SPDY_SESSION_POOL_H_ 6 #define NET_SPDY_SPDY_SESSION_POOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // SSLConfigService::Observer methods: 136 // SSLConfigService::Observer methods:
137 137
138 // We perform the same flushing as described above when SSL settings change. 138 // We perform the same flushing as described above when SSL settings change.
139 void OnSSLConfigChanged() override; 139 void OnSSLConfigChanged() override;
140 140
141 // CertDatabase::Observer methods: 141 // CertDatabase::Observer methods:
142 142
143 // We perform the same flushing as described above when certificate database 143 // We perform the same flushing as described above when certificate database
144 // is changed. 144 // is changed.
145 void OnCertAdded(const X509Certificate* cert) override; 145 void OnCertDBChanged(const X509Certificate* cert) override;
146 void OnCACertChanged(const X509Certificate* cert) override;
147 146
148 private: 147 private:
149 friend class SpdySessionPoolPeer; // For testing. 148 friend class SpdySessionPoolPeer; // For testing.
150 149
151 typedef std::set<SpdySession*> SessionSet; 150 typedef std::set<SpdySession*> SessionSet;
152 typedef std::vector<base::WeakPtr<SpdySession> > WeakSessionList; 151 typedef std::vector<base::WeakPtr<SpdySession> > WeakSessionList;
153 typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> > 152 typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> >
154 AvailableSessionMap; 153 AvailableSessionMap;
155 typedef std::map<IPEndPoint, SpdySessionKey> AliasMap; 154 typedef std::map<IPEndPoint, SpdySessionKey> AliasMap;
156 typedef std::map<GURL, WeakSessionList> UnclaimedPushedStreamMap; 155 typedef std::map<GURL, WeakSessionList> UnclaimedPushedStreamMap;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // resources from origins that are different from those of their associated 223 // resources from origins that are different from those of their associated
225 // streams. May be nullptr. 224 // streams. May be nullptr.
226 ProxyDelegate* proxy_delegate_; 225 ProxyDelegate* proxy_delegate_;
227 226
228 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); 227 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool);
229 }; 228 };
230 229
231 } // namespace net 230 } // namespace net
232 231
233 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ 232 #endif // NET_SPDY_SPDY_SESSION_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_manager_impl.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698