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

Side by Side Diff: net/url_request/url_request_context_builder.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_test_util_common.cc ('k') | net/url_request/url_request_context_builder.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This class is useful for building a simple URLRequestContext. Most creators 5 // This class is useful for building a simple URLRequestContext. Most creators
6 // of new URLRequestContexts should use this helper class to construct it. Call 6 // of new URLRequestContexts should use this helper class to construct it. Call
7 // any configuration params, and when done, invoke Build() to construct the 7 // any configuration params, and when done, invoke Build() to construct the
8 // URLRequestContext. This URLRequestContext will own all its own storage. 8 // URLRequestContext. This URLRequestContext will own all its own storage.
9 // 9 //
10 // URLRequestContextBuilder and its associated params classes are initially 10 // URLRequestContextBuilder and its associated params classes are initially
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 HttpNetworkSessionParams(); 73 HttpNetworkSessionParams();
74 ~HttpNetworkSessionParams(); 74 ~HttpNetworkSessionParams();
75 75
76 // These fields mirror those in HttpNetworkSession::Params; 76 // These fields mirror those in HttpNetworkSession::Params;
77 bool ignore_certificate_errors; 77 bool ignore_certificate_errors;
78 HostMappingRules* host_mapping_rules; 78 HostMappingRules* host_mapping_rules;
79 uint16 testing_fixed_http_port; 79 uint16 testing_fixed_http_port;
80 uint16 testing_fixed_https_port; 80 uint16 testing_fixed_https_port;
81 NextProtoVector next_protos; 81 NextProtoVector next_protos;
82 std::string trusted_spdy_proxy; 82 std::string trusted_spdy_proxy;
83 bool use_alternate_protocols; 83 bool use_alternative_services;
84 bool enable_quic; 84 bool enable_quic;
85 bool enable_insecure_quic; 85 bool enable_insecure_quic;
86 QuicTagVector quic_connection_options; 86 QuicTagVector quic_connection_options;
87 }; 87 };
88 88
89 URLRequestContextBuilder(); 89 URLRequestContextBuilder();
90 ~URLRequestContextBuilder(); 90 ~URLRequestContextBuilder();
91 91
92 // These functions are mutually exclusive. The ProxyConfigService, if 92 // These functions are mutually exclusive. The ProxyConfigService, if
93 // set, will be used to construct a ProxyService. 93 // set, will be used to construct a ProxyService.
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 std::vector<SchemeFactory> extra_http_auth_handlers_; 265 std::vector<SchemeFactory> extra_http_auth_handlers_;
266 ScopedVector<URLRequestInterceptor> url_request_interceptors_; 266 ScopedVector<URLRequestInterceptor> url_request_interceptors_;
267 scoped_ptr<HttpServerProperties> http_server_properties_; 267 scoped_ptr<HttpServerProperties> http_server_properties_;
268 268
269 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); 269 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder);
270 }; 270 };
271 271
272 } // namespace net 272 } // namespace net
273 273
274 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ 274 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698