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

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

Issue 1268313004: s/use_alternate_protocols/use_alternative_services/g (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #15. Created 5 years, 4 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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