| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 // SSLConfigService::Observer methods: | 148 // SSLConfigService::Observer methods: |
| 149 | 149 |
| 150 // We perform the same flushing as described above when SSL settings change. | 150 // We perform the same flushing as described above when SSL settings change. |
| 151 void OnSSLConfigChanged() override; | 151 void OnSSLConfigChanged() override; |
| 152 | 152 |
| 153 // CertDatabase::Observer methods: | 153 // CertDatabase::Observer methods: |
| 154 | 154 |
| 155 // We perform the same flushing as described above when certificate database | 155 // We perform the same flushing as described above when certificate database |
| 156 // is changed. | 156 // is changed. |
| 157 void OnCertDBChanged(const X509Certificate* cert) override; | 157 void OnCertDBChanged() override; |
| 158 | 158 |
| 159 void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd, | 159 void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd, |
| 160 const std::string& parent_dump_absolute_name) const; | 160 const std::string& parent_dump_absolute_name) const; |
| 161 | 161 |
| 162 private: | 162 private: |
| 163 friend class SpdySessionPoolPeer; // For testing. | 163 friend class SpdySessionPoolPeer; // For testing. |
| 164 | 164 |
| 165 typedef std::set<SpdySession*> SessionSet; | 165 typedef std::set<SpdySession*> SessionSet; |
| 166 typedef std::vector<base::WeakPtr<SpdySession> > WeakSessionList; | 166 typedef std::vector<base::WeakPtr<SpdySession> > WeakSessionList; |
| 167 typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> > | 167 typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> > |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 // resources from origins that are different from those of their associated | 246 // resources from origins that are different from those of their associated |
| 247 // streams. May be nullptr. | 247 // streams. May be nullptr. |
| 248 ProxyDelegate* proxy_delegate_; | 248 ProxyDelegate* proxy_delegate_; |
| 249 | 249 |
| 250 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); | 250 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); |
| 251 }; | 251 }; |
| 252 | 252 |
| 253 } // namespace net | 253 } // namespace net |
| 254 | 254 |
| 255 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ | 255 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ |
| OLD | NEW |