OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_TEST_UTIL_COMMON_H_ | 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 static scoped_ptr<HttpNetworkSession> SpdyCreateSession( | 197 static scoped_ptr<HttpNetworkSession> SpdyCreateSession( |
198 SpdySessionDependencies* session_deps); | 198 SpdySessionDependencies* session_deps); |
199 static scoped_ptr<HttpNetworkSession> SpdyCreateSessionDeterministic( | 199 static scoped_ptr<HttpNetworkSession> SpdyCreateSessionDeterministic( |
200 SpdySessionDependencies* session_deps); | 200 SpdySessionDependencies* session_deps); |
201 static HttpNetworkSession::Params CreateSessionParams( | 201 static HttpNetworkSession::Params CreateSessionParams( |
202 SpdySessionDependencies* session_deps); | 202 SpdySessionDependencies* session_deps); |
203 | 203 |
204 // NOTE: host_resolver must be ordered before http_auth_handler_factory. | 204 // NOTE: host_resolver must be ordered before http_auth_handler_factory. |
205 scoped_ptr<MockHostResolverBase> host_resolver; | 205 scoped_ptr<MockHostResolverBase> host_resolver; |
206 scoped_ptr<CertVerifier> cert_verifier; | 206 scoped_ptr<CertVerifier> cert_verifier; |
| 207 scoped_ptr<ChannelIDService> channel_id_service; |
207 scoped_ptr<TransportSecurityState> transport_security_state; | 208 scoped_ptr<TransportSecurityState> transport_security_state; |
208 scoped_ptr<ProxyService> proxy_service; | 209 scoped_ptr<ProxyService> proxy_service; |
209 scoped_refptr<SSLConfigService> ssl_config_service; | 210 scoped_refptr<SSLConfigService> ssl_config_service; |
210 scoped_ptr<MockClientSocketFactory> socket_factory; | 211 scoped_ptr<MockClientSocketFactory> socket_factory; |
211 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory; | 212 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory; |
212 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 213 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
213 HttpServerPropertiesImpl http_server_properties; | 214 HttpServerPropertiesImpl http_server_properties; |
214 bool enable_ip_pooling; | 215 bool enable_ip_pooling; |
215 bool enable_compression; | 216 bool enable_compression; |
216 bool enable_ping; | 217 bool enable_ping; |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 int64* content_length) const; | 586 int64* content_length) const; |
586 | 587 |
587 const NextProto protocol_; | 588 const NextProto protocol_; |
588 const SpdyMajorVersion spdy_version_; | 589 const SpdyMajorVersion spdy_version_; |
589 GURL default_url_; | 590 GURL default_url_; |
590 }; | 591 }; |
591 | 592 |
592 } // namespace net | 593 } // namespace net |
593 | 594 |
594 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 595 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |