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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 ~SpdySessionDependencies(); | 181 ~SpdySessionDependencies(); |
182 | 182 |
183 static scoped_ptr<HttpNetworkSession> SpdyCreateSession( | 183 static scoped_ptr<HttpNetworkSession> SpdyCreateSession( |
184 SpdySessionDependencies* session_deps); | 184 SpdySessionDependencies* session_deps); |
185 static HttpNetworkSession::Params CreateSessionParams( | 185 static HttpNetworkSession::Params CreateSessionParams( |
186 SpdySessionDependencies* session_deps); | 186 SpdySessionDependencies* session_deps); |
187 | 187 |
188 // NOTE: host_resolver must be ordered before http_auth_handler_factory. | 188 // NOTE: host_resolver must be ordered before http_auth_handler_factory. |
189 scoped_ptr<MockHostResolverBase> host_resolver; | 189 scoped_ptr<MockHostResolverBase> host_resolver; |
190 scoped_ptr<CertVerifier> cert_verifier; | 190 scoped_ptr<CertVerifier> cert_verifier; |
| 191 scoped_ptr<ChannelIDService> channel_id_service; |
191 scoped_ptr<TransportSecurityState> transport_security_state; | 192 scoped_ptr<TransportSecurityState> transport_security_state; |
192 scoped_ptr<ProxyService> proxy_service; | 193 scoped_ptr<ProxyService> proxy_service; |
193 scoped_refptr<SSLConfigService> ssl_config_service; | 194 scoped_refptr<SSLConfigService> ssl_config_service; |
194 scoped_ptr<MockClientSocketFactory> socket_factory; | 195 scoped_ptr<MockClientSocketFactory> socket_factory; |
195 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 196 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
196 HttpServerPropertiesImpl http_server_properties; | 197 HttpServerPropertiesImpl http_server_properties; |
197 bool enable_ip_pooling; | 198 bool enable_ip_pooling; |
198 bool enable_compression; | 199 bool enable_compression; |
199 bool enable_ping; | 200 bool enable_ping; |
200 bool enable_user_alternate_protocol_ports; | 201 bool enable_user_alternate_protocol_ports; |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 GURL default_url_; | 580 GURL default_url_; |
580 bool dependency_priorities_; | 581 bool dependency_priorities_; |
581 | 582 |
582 // Track a FIFO list of the stream_id of all created requests by priority. | 583 // Track a FIFO list of the stream_id of all created requests by priority. |
583 std::map<int, std::vector<int>> priority_to_stream_id_list_; | 584 std::map<int, std::vector<int>> priority_to_stream_id_list_; |
584 }; | 585 }; |
585 | 586 |
586 } // namespace net | 587 } // namespace net |
587 | 588 |
588 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 589 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |