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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 scoped_ptr<ProxyService> proxy_service; | 192 scoped_ptr<ProxyService> proxy_service; |
193 scoped_refptr<SSLConfigService> ssl_config_service; | 193 scoped_refptr<SSLConfigService> ssl_config_service; |
194 scoped_ptr<MockClientSocketFactory> socket_factory; | 194 scoped_ptr<MockClientSocketFactory> socket_factory; |
195 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 195 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
196 HttpServerPropertiesImpl http_server_properties; | 196 HttpServerPropertiesImpl http_server_properties; |
197 bool enable_ip_pooling; | 197 bool enable_ip_pooling; |
198 bool enable_ping; | 198 bool enable_ping; |
199 bool enable_user_alternate_protocol_ports; | 199 bool enable_user_alternate_protocol_ports; |
200 bool enable_npn; | 200 bool enable_npn; |
201 bool enable_priority_dependencies; | 201 bool enable_priority_dependencies; |
| 202 bool enable_spdy31; |
202 bool enable_quic; | 203 bool enable_quic; |
203 NextProto protocol; | 204 NextProto protocol; |
204 size_t session_max_recv_window_size; | 205 size_t session_max_recv_window_size; |
205 size_t stream_max_recv_window_size; | 206 size_t stream_max_recv_window_size; |
206 SpdySession::TimeFunc time_func; | 207 SpdySession::TimeFunc time_func; |
207 scoped_ptr<ProxyDelegate> proxy_delegate; | 208 scoped_ptr<ProxyDelegate> proxy_delegate; |
208 bool parse_alternative_services; | 209 bool parse_alternative_services; |
209 bool enable_alternative_service_with_different_host; | 210 bool enable_alternative_service_with_different_host; |
210 NetLog* net_log; | 211 NetLog* net_log; |
211 }; | 212 }; |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 GURL default_url_; | 561 GURL default_url_; |
561 bool dependency_priorities_; | 562 bool dependency_priorities_; |
562 | 563 |
563 // Track a FIFO list of the stream_id of all created requests by priority. | 564 // Track a FIFO list of the stream_id of all created requests by priority. |
564 std::map<int, std::vector<int>> priority_to_stream_id_list_; | 565 std::map<int, std::vector<int>> priority_to_stream_id_list_; |
565 }; | 566 }; |
566 | 567 |
567 } // namespace net | 568 } // namespace net |
568 | 569 |
569 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 570 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |