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

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

Issue 333113002: Move data reduction proxy to Chrome-Proxy header for authentication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@flywheel-refactor-net-fake-a-redirect-response-headers-chrome-proxy-auth
Patch Set: errata Created 6 years, 5 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 | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | 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
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/prefs/pref_member.h" 16 #include "base/prefs/pref_member.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "chrome/browser/net/ssl_config_service_manager.h" 18 #include "chrome/browser/net/ssl_config_service_manager.h"
19 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ est_handler.h"
19 #include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h" 20 #include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h"
20 #include "components/data_reduction_proxy/browser/data_reduction_proxy_usage_sta ts.h" 21 #include "components/data_reduction_proxy/browser/data_reduction_proxy_usage_sta ts.h"
21 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
22 #include "content/public/browser/browser_thread_delegate.h" 23 #include "content/public/browser/browser_thread_delegate.h"
23 #include "net/base/network_change_notifier.h" 24 #include "net/base/network_change_notifier.h"
24 #include "net/http/http_network_session.h" 25 #include "net/http/http_network_session.h"
25 #include "net/socket/next_proto.h" 26 #include "net/socket/next_proto.h"
26 27
27 class ChromeNetLog; 28 class ChromeNetLog;
28 class PrefProxyConfigTracker; 29 class PrefProxyConfigTracker;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 Optional<net::HostPortPair> origin_to_force_quic_on; 186 Optional<net::HostPortPair> origin_to_force_quic_on;
186 bool enable_user_alternate_protocol_ports; 187 bool enable_user_alternate_protocol_ports;
187 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a 188 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
188 // main frame load fails with a DNS error in order to provide more useful 189 // main frame load fails with a DNS error in order to provide more useful
189 // information to the renderer so it can show a more specific error page. 190 // information to the renderer so it can show a more specific error page.
190 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; 191 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
191 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> 192 scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
192 data_reduction_proxy_params; 193 data_reduction_proxy_params;
193 scoped_ptr<data_reduction_proxy::DataReductionProxyUsageStats> 194 scoped_ptr<data_reduction_proxy::DataReductionProxyUsageStats>
194 data_reduction_proxy_usage_stats; 195 data_reduction_proxy_usage_stats;
196 scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler>
197 data_reduction_proxy_auth_request_handler;
195 }; 198 };
196 199
197 // |net_log| must either outlive the IOThread or be NULL. 200 // |net_log| must either outlive the IOThread or be NULL.
198 IOThread(PrefService* local_state, 201 IOThread(PrefService* local_state,
199 policy::PolicyService* policy_service, 202 policy::PolicyService* policy_service,
200 ChromeNetLog* net_log, 203 ChromeNetLog* net_log,
201 extensions::EventRouterForwarder* extension_event_router_forwarder); 204 extensions::EventRouterForwarder* extension_event_router_forwarder);
202 205
203 virtual ~IOThread(); 206 virtual ~IOThread();
204 207
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 bool is_spdy_disabled_by_policy_; 414 bool is_spdy_disabled_by_policy_;
412 415
413 base::WeakPtrFactory<IOThread> weak_factory_; 416 base::WeakPtrFactory<IOThread> weak_factory_;
414 417
415 const base::TimeTicks creation_time_; 418 const base::TimeTicks creation_time_;
416 419
417 DISALLOW_COPY_AND_ASSIGN(IOThread); 420 DISALLOW_COPY_AND_ASSIGN(IOThread);
418 }; 421 };
419 422
420 #endif // CHROME_BROWSER_IO_THREAD_H_ 423 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698