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

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

Issue 2297263002: Revert "Only allow HTTP/0.9 support on default ports." (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 bool enable_ip_pooling; 199 bool enable_ip_pooling;
200 bool enable_ping; 200 bool enable_ping;
201 bool enable_user_alternate_protocol_ports; 201 bool enable_user_alternate_protocol_ports;
202 bool enable_quic; 202 bool enable_quic;
203 size_t session_max_recv_window_size; 203 size_t session_max_recv_window_size;
204 size_t stream_max_recv_window_size; 204 size_t stream_max_recv_window_size;
205 SpdySession::TimeFunc time_func; 205 SpdySession::TimeFunc time_func;
206 std::unique_ptr<ProxyDelegate> proxy_delegate; 206 std::unique_ptr<ProxyDelegate> proxy_delegate;
207 bool enable_http2_alternative_service_with_different_host; 207 bool enable_http2_alternative_service_with_different_host;
208 NetLog* net_log; 208 NetLog* net_log;
209 bool http_09_on_non_default_ports_enabled;
210 }; 209 };
211 210
212 class SpdyURLRequestContext : public URLRequestContext { 211 class SpdyURLRequestContext : public URLRequestContext {
213 public: 212 public:
214 SpdyURLRequestContext(); 213 SpdyURLRequestContext();
215 ~SpdyURLRequestContext() override; 214 ~SpdyURLRequestContext() override;
216 215
217 MockClientSocketFactory& socket_factory() { return socket_factory_; } 216 MockClientSocketFactory& socket_factory() { return socket_factory_; }
218 217
219 private: 218 private:
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 515
517 GURL default_url_; 516 GURL default_url_;
518 517
519 // Track a FIFO list of the stream_id of all created requests by priority. 518 // Track a FIFO list of the stream_id of all created requests by priority.
520 std::map<int, std::vector<int>> priority_to_stream_id_list_; 519 std::map<int, std::vector<int>> priority_to_stream_id_list_;
521 }; 520 };
522 521
523 } // namespace net 522 } // namespace net
524 523
525 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 524 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698