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

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

Issue 2011983002: Remove |parse_alternative_service| flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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
« no previous file with comments | « net/spdy/spdy_network_transaction_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_user_alternate_protocol_ports; 199 bool enable_user_alternate_protocol_ports;
200 bool enable_npn; 200 bool enable_npn;
201 bool enable_priority_dependencies; 201 bool enable_priority_dependencies;
202 bool enable_spdy31; 202 bool enable_spdy31;
203 bool enable_quic; 203 bool enable_quic;
204 NextProto protocol; 204 NextProto protocol;
205 size_t session_max_recv_window_size; 205 size_t session_max_recv_window_size;
206 size_t stream_max_recv_window_size; 206 size_t stream_max_recv_window_size;
207 SpdySession::TimeFunc time_func; 207 SpdySession::TimeFunc time_func;
208 std::unique_ptr<ProxyDelegate> proxy_delegate; 208 std::unique_ptr<ProxyDelegate> proxy_delegate;
209 bool parse_alternative_services;
210 bool enable_alternative_service_with_different_host; 209 bool enable_alternative_service_with_different_host;
211 NetLog* net_log; 210 NetLog* net_log;
212 }; 211 };
213 212
214 class SpdyURLRequestContext : public URLRequestContext { 213 class SpdyURLRequestContext : public URLRequestContext {
215 public: 214 public:
216 explicit SpdyURLRequestContext(NextProto protocol); 215 explicit SpdyURLRequestContext(NextProto protocol);
217 ~SpdyURLRequestContext() override; 216 ~SpdyURLRequestContext() override;
218 217
219 MockClientSocketFactory& socket_factory() { return socket_factory_; } 218 MockClientSocketFactory& socket_factory() { return socket_factory_; }
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 GURL default_url_; 560 GURL default_url_;
562 bool dependency_priorities_; 561 bool dependency_priorities_;
563 562
564 // Track a FIFO list of the stream_id of all created requests by priority. 563 // Track a FIFO list of the stream_id of all created requests by priority.
565 std::map<int, std::vector<int>> priority_to_stream_id_list_; 564 std::map<int, std::vector<int>> priority_to_stream_id_list_;
566 }; 565 };
567 566
568 } // namespace net 567 } // namespace net
569 568
570 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 569 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_network_transaction_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