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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 scoped_ptr<ProxyService> proxy_service; | 190 scoped_ptr<ProxyService> proxy_service; |
191 scoped_refptr<SSLConfigService> ssl_config_service; | 191 scoped_refptr<SSLConfigService> ssl_config_service; |
192 scoped_ptr<MockClientSocketFactory> socket_factory; | 192 scoped_ptr<MockClientSocketFactory> socket_factory; |
193 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory; | 193 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory; |
194 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 194 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
195 HttpServerPropertiesImpl http_server_properties; | 195 HttpServerPropertiesImpl http_server_properties; |
196 bool enable_ip_pooling; | 196 bool enable_ip_pooling; |
197 bool enable_compression; | 197 bool enable_compression; |
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 NextProto protocol; | 201 NextProto protocol; |
201 size_t session_max_recv_window_size; | 202 size_t session_max_recv_window_size; |
202 size_t stream_max_recv_window_size; | 203 size_t stream_max_recv_window_size; |
203 SpdySession::TimeFunc time_func; | 204 SpdySession::TimeFunc time_func; |
204 NextProtoVector next_protos; | 205 NextProtoVector next_protos; |
205 std::string trusted_spdy_proxy; | 206 std::string trusted_spdy_proxy; |
206 bool use_alternative_services; | 207 bool use_alternative_services; |
207 NetLog* net_log; | 208 NetLog* net_log; |
208 }; | 209 }; |
209 | 210 |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 GURL default_url_; | 571 GURL default_url_; |
571 bool dependency_priorities_; | 572 bool dependency_priorities_; |
572 | 573 |
573 // Track a FIFO list of the stream_id of all created requests by priority. | 574 // Track a FIFO list of the stream_id of all created requests by priority. |
574 std::map<int, std::vector<int>> priority_to_stream_id_list_; | 575 std::map<int, std::vector<int>> priority_to_stream_id_list_; |
575 }; | 576 }; |
576 | 577 |
577 } // namespace net | 578 } // namespace net |
578 | 579 |
579 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 580 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |