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

Side by Side Diff: chrome/browser/io_thread.h

Issue 1547273003: Set trusted SPDY proxy dynamically on per-profile basis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('J')
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 #ifndef CHROME_BROWSER_IO_THREAD_H_ 5 #ifndef CHROME_BROWSER_IO_THREAD_H_
6 #define CHROME_BROWSER_IO_THREAD_H_ 6 #define CHROME_BROWSER_IO_THREAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class HttpNetworkSession; 74 class HttpNetworkSession;
75 class HttpServerProperties; 75 class HttpServerProperties;
76 class HttpTransactionFactory; 76 class HttpTransactionFactory;
77 class HttpUserAgentSettings; 77 class HttpUserAgentSettings;
78 class NetworkDelegate; 78 class NetworkDelegate;
79 class NetworkQualityEstimator; 79 class NetworkQualityEstimator;
80 class ProxyConfigService; 80 class ProxyConfigService;
81 class ProxyService; 81 class ProxyService;
82 class SSLConfigService; 82 class SSLConfigService;
83 class TransportSecurityState; 83 class TransportSecurityState;
84 class TrustedSpdyProxyProvider;
84 class URLRequestBackoffManager; 85 class URLRequestBackoffManager;
85 class URLRequestContext; 86 class URLRequestContext;
86 class URLRequestContextGetter; 87 class URLRequestContextGetter;
87 class URLRequestJobFactory; 88 class URLRequestJobFactory;
88 } // namespace net 89 } // namespace net
89 90
90 namespace net_log { 91 namespace net_log {
91 class ChromeNetLog; 92 class ChromeNetLog;
92 } 93 }
93 94
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool ignore_certificate_errors; 202 bool ignore_certificate_errors;
202 uint16_t testing_fixed_http_port; 203 uint16_t testing_fixed_http_port;
203 uint16_t testing_fixed_https_port; 204 uint16_t testing_fixed_https_port;
204 Optional<bool> enable_tcp_fast_open_for_ssl; 205 Optional<bool> enable_tcp_fast_open_for_ssl;
205 206
206 Optional<size_t> initial_max_spdy_concurrent_streams; 207 Optional<size_t> initial_max_spdy_concurrent_streams;
207 Optional<bool> enable_spdy_compression; 208 Optional<bool> enable_spdy_compression;
208 Optional<bool> enable_spdy_ping_based_connection_checking; 209 Optional<bool> enable_spdy_ping_based_connection_checking;
209 Optional<net::NextProto> spdy_default_protocol; 210 Optional<net::NextProto> spdy_default_protocol;
210 net::NextProtoVector next_protos; 211 net::NextProtoVector next_protos;
211 Optional<std::string> trusted_spdy_proxy; 212 // |trusted_spdy_proxy_provider| provides a trusted SPDY proxy that is
bengr 2016/01/11 22:29:35 There's no need to use || if what's enclosed is ob
tbansal1 2016/01/12 20:50:50 Done.
213 // allowed to push cross-origin resources. |trusted_spdy_proxy_provider|
214 // may be NULL.
215 scoped_ptr<net::TrustedSpdyProxyProvider> trusted_spdy_proxy_provider;
bengr 2016/01/11 22:29:35 I wonder if we should instead have a net::TrustedP
tbansal1 2016/01/12 20:50:50 Changed to TrustedSpdyProxyVerifier. TrustedProxy
212 std::set<net::HostPortPair> forced_spdy_exclusions; 216 std::set<net::HostPortPair> forced_spdy_exclusions;
213 Optional<bool> use_alternative_services; 217 Optional<bool> use_alternative_services;
214 Optional<double> alternative_service_probability_threshold; 218 Optional<double> alternative_service_probability_threshold;
215 219
216 Optional<bool> enable_npn; 220 Optional<bool> enable_npn;
217 221
218 Optional<bool> enable_brotli; 222 Optional<bool> enable_brotli;
219 223
220 Optional<bool> enable_quic; 224 Optional<bool> enable_quic;
221 Optional<bool> enable_quic_for_proxies; 225 Optional<bool> enable_quic_for_proxies;
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 bool is_quic_allowed_by_policy_; 574 bool is_quic_allowed_by_policy_;
571 575
572 const base::TimeTicks creation_time_; 576 const base::TimeTicks creation_time_;
573 577
574 base::WeakPtrFactory<IOThread> weak_factory_; 578 base::WeakPtrFactory<IOThread> weak_factory_;
575 579
576 DISALLOW_COPY_AND_ASSIGN(IOThread); 580 DISALLOW_COPY_AND_ASSIGN(IOThread);
577 }; 581 };
578 582
579 #endif // CHROME_BROWSER_IO_THREAD_H_ 583 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698