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

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

Issue 517693002: Add embedder-specific headers to HTTP CONNECT tunnel request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reworked HaveAuth test Created 6 years, 3 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') | 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 #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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 22 matching lines...) Expand all
33 class CommandLine; 33 class CommandLine;
34 } 34 }
35 35
36 namespace chrome_browser_net { 36 namespace chrome_browser_net {
37 class DnsProbeService; 37 class DnsProbeService;
38 } 38 }
39 39
40 #if defined(SPDY_PROXY_AUTH_ORIGIN) 40 #if defined(SPDY_PROXY_AUTH_ORIGIN)
41 namespace data_reduction_proxy { 41 namespace data_reduction_proxy {
42 class DataReductionProxyAuthRequestHandler; 42 class DataReductionProxyAuthRequestHandler;
43 class DataReductionProxyDelegate;
43 class DataReductionProxyParams; 44 class DataReductionProxyParams;
44 } 45 }
45 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) 46 #endif // defined(SPDY_PROXY_AUTH_ORIGIN)
46 47
47 namespace extensions { 48 namespace extensions {
48 class EventRouterForwarder; 49 class EventRouterForwarder;
49 } 50 }
50 51
51 namespace net { 52 namespace net {
52 class CertVerifier; 53 class CertVerifier;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 bool enable_user_alternate_protocol_ports; 198 bool enable_user_alternate_protocol_ports;
198 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a 199 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
199 // main frame load fails with a DNS error in order to provide more useful 200 // main frame load fails with a DNS error in order to provide more useful
200 // information to the renderer so it can show a more specific error page. 201 // information to the renderer so it can show a more specific error page.
201 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; 202 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
202 #if defined(SPDY_PROXY_AUTH_ORIGIN) 203 #if defined(SPDY_PROXY_AUTH_ORIGIN)
203 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> 204 scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
204 data_reduction_proxy_params; 205 data_reduction_proxy_params;
205 scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> 206 scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler>
206 data_reduction_proxy_auth_request_handler; 207 data_reduction_proxy_auth_request_handler;
208 scoped_ptr<data_reduction_proxy::DataReductionProxyDelegate>
209 data_reduction_proxy_delegate;
207 #endif 210 #endif
208 }; 211 };
209 212
210 // |net_log| must either outlive the IOThread or be NULL. 213 // |net_log| must either outlive the IOThread or be NULL.
211 IOThread(PrefService* local_state, 214 IOThread(PrefService* local_state,
212 policy::PolicyService* policy_service, 215 policy::PolicyService* policy_service,
213 ChromeNetLog* net_log, 216 ChromeNetLog* net_log,
214 extensions::EventRouterForwarder* extension_event_router_forwarder); 217 extensions::EventRouterForwarder* extension_event_router_forwarder);
215 218
216 virtual ~IOThread(); 219 virtual ~IOThread();
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 bool is_spdy_disabled_by_policy_; 456 bool is_spdy_disabled_by_policy_;
454 457
455 base::WeakPtrFactory<IOThread> weak_factory_; 458 base::WeakPtrFactory<IOThread> weak_factory_;
456 459
457 const base::TimeTicks creation_time_; 460 const base::TimeTicks creation_time_;
458 461
459 DISALLOW_COPY_AND_ASSIGN(IOThread); 462 DISALLOW_COPY_AND_ASSIGN(IOThread);
460 }; 463 };
461 464
462 #endif // CHROME_BROWSER_IO_THREAD_H_ 465 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698