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 #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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <list> | 10 #include <list> |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "net/proxy/proxy_config.h" | 24 #include "net/proxy/proxy_config.h" |
25 #include "net/proxy/proxy_server.h" | 25 #include "net/proxy/proxy_server.h" |
26 #include "net/spdy/spdy_settings_storage.h" | 26 #include "net/spdy/spdy_settings_storage.h" |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
30 class AddressList; | 30 class AddressList; |
31 class BoundNetLog; | 31 class BoundNetLog; |
32 class ClientSocketHandle; | 32 class ClientSocketHandle; |
33 class HostResolver; | 33 class HostResolver; |
34 class HttpNetworkSession; | |
35 class SpdySession; | 34 class SpdySession; |
36 | 35 |
37 // This is a very simple pool for open SpdySessions. | 36 // This is a very simple pool for open SpdySessions. |
38 class NET_EXPORT SpdySessionPool | 37 class NET_EXPORT SpdySessionPool |
39 : public NetworkChangeNotifier::IPAddressObserver, | 38 : public NetworkChangeNotifier::IPAddressObserver, |
40 public SSLConfigService::Observer, | 39 public SSLConfigService::Observer, |
41 public CertDatabase::Observer { | 40 public CertDatabase::Observer { |
42 public: | 41 public: |
43 SpdySessionPool(HostResolver* host_resolver, | 42 SpdySessionPool(HostResolver* host_resolver, |
44 SSLConfigService* ssl_config_service); | 43 SSLConfigService* ssl_config_service); |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 186 |
188 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests. | 187 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests. |
189 bool verify_domain_authentication_; | 188 bool verify_domain_authentication_; |
190 | 189 |
191 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); | 190 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); |
192 }; | 191 }; |
193 | 192 |
194 } // namespace net | 193 } // namespace net |
195 | 194 |
196 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ | 195 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ |
OLD | NEW |