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

Side by Side Diff: net/url_request/url_request_context_builder.h

Issue 903213003: Enable QUIC for proxies based on Finch config and command line switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed one tiny function. Created 5 years, 10 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) 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // These fields mirror those in net::HttpNetworkSession::Params; 69 // These fields mirror those in net::HttpNetworkSession::Params;
70 bool ignore_certificate_errors; 70 bool ignore_certificate_errors;
71 HostMappingRules* host_mapping_rules; 71 HostMappingRules* host_mapping_rules;
72 uint16 testing_fixed_http_port; 72 uint16 testing_fixed_http_port;
73 uint16 testing_fixed_https_port; 73 uint16 testing_fixed_https_port;
74 NextProtoVector next_protos; 74 NextProtoVector next_protos;
75 std::string trusted_spdy_proxy; 75 std::string trusted_spdy_proxy;
76 bool use_alternate_protocols; 76 bool use_alternate_protocols;
77 bool enable_quic; 77 bool enable_quic;
78 bool enable_quic_for_proxies;
Ryan Hamilton 2015/02/14 00:09:23 Does any part of this CL set this member? I'm havi
tbansal1 2015/02/14 01:06:11 Done.
78 QuicTagVector quic_connection_options; 79 QuicTagVector quic_connection_options;
79 }; 80 };
80 81
81 URLRequestContextBuilder(); 82 URLRequestContextBuilder();
82 ~URLRequestContextBuilder(); 83 ~URLRequestContextBuilder();
83 84
84 // These functions are mutually exclusive. The ProxyConfigService, if 85 // These functions are mutually exclusive. The ProxyConfigService, if
85 // set, will be used to construct a ProxyService. 86 // set, will be used to construct a ProxyService.
86 void set_proxy_config_service(ProxyConfigService* proxy_config_service) { 87 void set_proxy_config_service(ProxyConfigService* proxy_config_service) {
87 proxy_config_service_.reset(proxy_config_service); 88 proxy_config_service_.reset(proxy_config_service);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 scoped_refptr<CookieStore> cookie_store_; 227 scoped_refptr<CookieStore> cookie_store_;
227 scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_; 228 scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_;
228 std::vector<SchemeFactory> extra_http_auth_handlers_; 229 std::vector<SchemeFactory> extra_http_auth_handlers_;
229 230
230 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); 231 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder);
231 }; 232 };
232 233
233 } // namespace net 234 } // namespace net
234 235
235 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ 236 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698