| 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_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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 virtual void OnIPAddressChanged() OVERRIDE; | 137 virtual void OnIPAddressChanged() OVERRIDE; |
| 138 | 138 |
| 139 // SSLConfigService::Observer methods: | 139 // SSLConfigService::Observer methods: |
| 140 | 140 |
| 141 // We perform the same flushing as described above when SSL settings change. | 141 // We perform the same flushing as described above when SSL settings change. |
| 142 virtual void OnSSLConfigChanged() OVERRIDE; | 142 virtual void OnSSLConfigChanged() OVERRIDE; |
| 143 | 143 |
| 144 // CertDatabase::Observer methods: | 144 // CertDatabase::Observer methods: |
| 145 virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE; | 145 virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE; |
| 146 virtual void OnCertTrustChanged(const X509Certificate* cert) OVERRIDE; | 146 virtual void OnCertTrustChanged(const X509Certificate* cert) OVERRIDE; |
| 147 virtual void OnDatabaseChanged() OVERRIDE; |
| 147 | 148 |
| 148 private: | 149 private: |
| 149 friend class SpdySessionPoolPeer; // For testing. | 150 friend class SpdySessionPoolPeer; // For testing. |
| 150 | 151 |
| 151 typedef std::set<SpdySession*> SessionSet; | 152 typedef std::set<SpdySession*> SessionSet; |
| 152 typedef std::vector<base::WeakPtr<SpdySession> > WeakSessionList; | 153 typedef std::vector<base::WeakPtr<SpdySession> > WeakSessionList; |
| 153 typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> > | 154 typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> > |
| 154 AvailableSessionMap; | 155 AvailableSessionMap; |
| 155 typedef std::map<IPEndPoint, SpdySessionKey> AliasMap; | 156 typedef std::map<IPEndPoint, SpdySessionKey> AliasMap; |
| 156 | 157 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 // This SPDY proxy is allowed to push resources from origins that are | 227 // This SPDY proxy is allowed to push resources from origins that are |
| 227 // different from those of their associated streams. | 228 // different from those of their associated streams. |
| 228 HostPortPair trusted_spdy_proxy_; | 229 HostPortPair trusted_spdy_proxy_; |
| 229 | 230 |
| 230 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); | 231 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 } // namespace net | 234 } // namespace net |
| 234 | 235 |
| 235 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ | 236 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ |
| OLD | NEW |