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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 bool enable_ip_pooling; | 213 bool enable_ip_pooling; |
214 bool enable_compression; | 214 bool enable_compression; |
215 bool enable_ping; | 215 bool enable_ping; |
216 bool enable_user_alternate_protocol_ports; | 216 bool enable_user_alternate_protocol_ports; |
217 NextProto protocol; | 217 NextProto protocol; |
218 size_t session_max_recv_window_size; | 218 size_t session_max_recv_window_size; |
219 size_t stream_max_recv_window_size; | 219 size_t stream_max_recv_window_size; |
220 SpdySession::TimeFunc time_func; | 220 SpdySession::TimeFunc time_func; |
221 NextProtoVector next_protos; | 221 NextProtoVector next_protos; |
222 std::string trusted_spdy_proxy; | 222 std::string trusted_spdy_proxy; |
223 bool use_alternate_protocols; | 223 bool use_alternative_services; |
224 NetLog* net_log; | 224 NetLog* net_log; |
225 }; | 225 }; |
226 | 226 |
227 class SpdyURLRequestContext : public URLRequestContext { | 227 class SpdyURLRequestContext : public URLRequestContext { |
228 public: | 228 public: |
229 explicit SpdyURLRequestContext(NextProto protocol); | 229 explicit SpdyURLRequestContext(NextProto protocol); |
230 ~SpdyURLRequestContext() override; | 230 ~SpdyURLRequestContext() override; |
231 | 231 |
232 MockClientSocketFactory& socket_factory() { return socket_factory_; } | 232 MockClientSocketFactory& socket_factory() { return socket_factory_; } |
233 | 233 |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 int64* content_length) const; | 586 int64* content_length) const; |
587 | 587 |
588 const NextProto protocol_; | 588 const NextProto protocol_; |
589 const SpdyMajorVersion spdy_version_; | 589 const SpdyMajorVersion spdy_version_; |
590 GURL default_url_; | 590 GURL default_url_; |
591 }; | 591 }; |
592 | 592 |
593 } // namespace net | 593 } // namespace net |
594 | 594 |
595 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 595 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |