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

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

Issue 2089243002: Split enable_alternative_service_with_different_host flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 bool enable_npn; 205 bool enable_npn;
206 bool enable_priority_dependencies; 206 bool enable_priority_dependencies;
207 bool enable_spdy31; 207 bool enable_spdy31;
208 bool enable_quic; 208 bool enable_quic;
209 bool enable_alternative_service_for_insecure_origins; 209 bool enable_alternative_service_for_insecure_origins;
210 NextProto protocol; 210 NextProto protocol;
211 size_t session_max_recv_window_size; 211 size_t session_max_recv_window_size;
212 size_t stream_max_recv_window_size; 212 size_t stream_max_recv_window_size;
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_alternative_service_with_different_host; 215 bool enable_http2_alternative_service_with_different_host;
216 NetLog* net_log; 216 NetLog* net_log;
217 }; 217 };
218 218
219 class SpdyURLRequestContext : public URLRequestContext { 219 class SpdyURLRequestContext : public URLRequestContext {
220 public: 220 public:
221 explicit SpdyURLRequestContext(NextProto protocol); 221 explicit SpdyURLRequestContext(NextProto protocol);
222 ~SpdyURLRequestContext() override; 222 ~SpdyURLRequestContext() override;
223 223
224 MockClientSocketFactory& socket_factory() { return socket_factory_; } 224 MockClientSocketFactory& socket_factory() { return socket_factory_; }
225 225
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 GURL default_url_; 569 GURL default_url_;
570 bool dependency_priorities_; 570 bool dependency_priorities_;
571 571
572 // Track a FIFO list of the stream_id of all created requests by priority. 572 // Track a FIFO list of the stream_id of all created requests by priority.
573 std::map<int, std::vector<int>> priority_to_stream_id_list_; 573 std::map<int, std::vector<int>> priority_to_stream_id_list_;
574 }; 574 };
575 575
576 } // namespace net 576 } // namespace net
577 577
578 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 578 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698