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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 std::unique_ptr<CTPolicyEnforcer> ct_policy_enforcer; | 197 std::unique_ptr<CTPolicyEnforcer> ct_policy_enforcer; |
198 std::unique_ptr<ProxyService> proxy_service; | 198 std::unique_ptr<ProxyService> proxy_service; |
199 scoped_refptr<SSLConfigService> ssl_config_service; | 199 scoped_refptr<SSLConfigService> ssl_config_service; |
200 std::unique_ptr<MockClientSocketFactory> socket_factory; | 200 std::unique_ptr<MockClientSocketFactory> socket_factory; |
201 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 201 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
202 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties; | 202 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties; |
203 bool enable_ip_pooling; | 203 bool enable_ip_pooling; |
204 bool enable_ping; | 204 bool enable_ping; |
205 bool enable_user_alternate_protocol_ports; | 205 bool enable_user_alternate_protocol_ports; |
206 bool enable_priority_dependencies; | 206 bool enable_priority_dependencies; |
207 bool enable_spdy31; | |
208 bool enable_quic; | 207 bool enable_quic; |
209 NextProto protocol; | 208 NextProto protocol; |
210 size_t session_max_recv_window_size; | 209 size_t session_max_recv_window_size; |
211 size_t stream_max_recv_window_size; | 210 size_t stream_max_recv_window_size; |
212 SpdySession::TimeFunc time_func; | 211 SpdySession::TimeFunc time_func; |
213 std::unique_ptr<ProxyDelegate> proxy_delegate; | 212 std::unique_ptr<ProxyDelegate> proxy_delegate; |
214 bool enable_http2_alternative_service_with_different_host; | 213 bool enable_http2_alternative_service_with_different_host; |
215 NetLog* net_log; | 214 NetLog* net_log; |
216 }; | 215 }; |
217 | 216 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 GURL default_url_; | 556 GURL default_url_; |
558 bool dependency_priorities_; | 557 bool dependency_priorities_; |
559 | 558 |
560 // Track a FIFO list of the stream_id of all created requests by priority. | 559 // Track a FIFO list of the stream_id of all created requests by priority. |
561 std::map<int, std::vector<int>> priority_to_stream_id_list_; | 560 std::map<int, std::vector<int>> priority_to_stream_id_list_; |
562 }; | 561 }; |
563 | 562 |
564 } // namespace net | 563 } // namespace net |
565 | 564 |
566 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 565 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |