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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 std::unique_ptr<CTPolicyEnforcer> ct_policy_enforcer; | 200 std::unique_ptr<CTPolicyEnforcer> ct_policy_enforcer; |
201 std::unique_ptr<ProxyService> proxy_service; | 201 std::unique_ptr<ProxyService> proxy_service; |
202 scoped_refptr<SSLConfigService> ssl_config_service; | 202 scoped_refptr<SSLConfigService> ssl_config_service; |
203 std::unique_ptr<MockClientSocketFactory> socket_factory; | 203 std::unique_ptr<MockClientSocketFactory> socket_factory; |
204 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 204 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
205 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties; | 205 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties; |
206 bool enable_ip_pooling; | 206 bool enable_ip_pooling; |
207 bool enable_ping; | 207 bool enable_ping; |
208 bool enable_user_alternate_protocol_ports; | 208 bool enable_user_alternate_protocol_ports; |
209 bool enable_quic; | 209 bool enable_quic; |
210 bool enable_server_push_cancellation; | |
211 size_t session_max_recv_window_size; | 210 size_t session_max_recv_window_size; |
212 SettingsMap http2_settings; | 211 SettingsMap http2_settings; |
213 SpdySession::TimeFunc time_func; | 212 SpdySession::TimeFunc time_func; |
214 std::unique_ptr<ProxyDelegate> proxy_delegate; | 213 std::unique_ptr<ProxyDelegate> proxy_delegate; |
215 bool enable_http2_alternative_service_with_different_host; | 214 bool enable_http2_alternative_service_with_different_host; |
216 NetLog* net_log; | 215 NetLog* net_log; |
217 bool http_09_on_non_default_ports_enabled; | 216 bool http_09_on_non_default_ports_enabled; |
218 bool restrict_to_one_preconnect_for_proxies; | 217 bool restrict_to_one_preconnect_for_proxies; |
219 bool quic_do_not_mark_as_broken_on_network_change; | 218 bool quic_do_not_mark_as_broken_on_network_change; |
220 }; | 219 }; |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 | 530 |
532 GURL default_url_; | 531 GURL default_url_; |
533 | 532 |
534 // Track a FIFO list of the stream_id of all created requests by priority. | 533 // Track a FIFO list of the stream_id of all created requests by priority. |
535 std::map<int, std::vector<int>> priority_to_stream_id_list_; | 534 std::map<int, std::vector<int>> priority_to_stream_id_list_; |
536 }; | 535 }; |
537 | 536 |
538 } // namespace net | 537 } // namespace net |
539 | 538 |
540 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 539 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |