Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Side by Side Diff: net/spdy/spdy_test_util_common.h

Issue 2821463002: Disable HTTP/2 Alternative Services. (Closed)
Patch Set: Fix //jingle/glue/. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; 205 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory;
206 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties; 206 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties;
207 bool enable_ip_pooling; 207 bool enable_ip_pooling;
208 bool enable_ping; 208 bool enable_ping;
209 bool enable_user_alternate_protocol_ports; 209 bool enable_user_alternate_protocol_ports;
210 bool enable_quic; 210 bool enable_quic;
211 size_t session_max_recv_window_size; 211 size_t session_max_recv_window_size;
212 SettingsMap http2_settings; 212 SettingsMap http2_settings;
213 SpdySession::TimeFunc time_func; 213 SpdySession::TimeFunc time_func;
214 std::unique_ptr<ProxyDelegate> proxy_delegate; 214 std::unique_ptr<ProxyDelegate> proxy_delegate;
215 bool enable_http2_alternative_service_with_different_host; 215 bool enable_http2_alternative_service;
216 NetLog* net_log; 216 NetLog* net_log;
217 bool http_09_on_non_default_ports_enabled; 217 bool http_09_on_non_default_ports_enabled;
218 bool restrict_to_one_preconnect_for_proxies; 218 bool restrict_to_one_preconnect_for_proxies;
219 bool quic_do_not_mark_as_broken_on_network_change; 219 bool quic_do_not_mark_as_broken_on_network_change;
220 }; 220 };
221 221
222 class SpdyURLRequestContext : public URLRequestContext { 222 class SpdyURLRequestContext : public URLRequestContext {
223 public: 223 public:
224 SpdyURLRequestContext(); 224 SpdyURLRequestContext();
225 ~SpdyURLRequestContext() override; 225 ~SpdyURLRequestContext() override;
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 537
538 GURL default_url_; 538 GURL default_url_;
539 539
540 // Track a FIFO list of the stream_id of all created requests by priority. 540 // Track a FIFO list of the stream_id of all created requests by priority.
541 std::map<int, std::vector<int>> priority_to_stream_id_list_; 541 std::map<int, std::vector<int>> priority_to_stream_id_list_;
542 }; 542 };
543 543
544 } // namespace net 544 } // namespace net
545 545
546 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 546 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698