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

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

Issue 734263003: Move data reduction proxy logic out of chrome and android webview network delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 #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 23 matching lines...) Expand all
34 class CommandLine; 34 class CommandLine;
35 } 35 }
36 36
37 namespace chrome_browser_net { 37 namespace chrome_browser_net {
38 class DnsProbeService; 38 class DnsProbeService;
39 } 39 }
40 40
41 namespace data_reduction_proxy { 41 namespace data_reduction_proxy {
42 class DataReductionProxyAuthRequestHandler; 42 class DataReductionProxyAuthRequestHandler;
43 class DataReductionProxyDelegate; 43 class DataReductionProxyDelegate;
44 class DataReductionProxyNetworkDelegate;
44 class DataReductionProxyParams; 45 class DataReductionProxyParams;
45 } 46 }
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;
53 class ChannelIDService; 54 class ChannelIDService;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 311
311 void ChangedToOnTheRecordOnIOThread(); 312 void ChangedToOnTheRecordOnIOThread();
312 313
313 void UpdateDnsClientEnabled(); 314 void UpdateDnsClientEnabled();
314 315
315 // Configures QUIC options based on the flags in |command_line| as 316 // Configures QUIC options based on the flags in |command_line| as
316 // well as the QUIC field trial group. 317 // well as the QUIC field trial group.
317 void ConfigureQuic(const base::CommandLine& command_line); 318 void ConfigureQuic(const base::CommandLine& command_line);
318 319
319 // Set up data reduction proxy related objects on IO thread globals. 320 // Set up data reduction proxy related objects on IO thread globals.
320 void SetupDataReductionProxy(ChromeNetworkDelegate* network_delegate); 321 void SetupDataReductionProxy(
322 data_reduction_proxy::DataReductionProxyNetworkDelegate*
323 network_delegate);
321 324
322 extensions::EventRouterForwarder* extension_event_router_forwarder() { 325 extensions::EventRouterForwarder* extension_event_router_forwarder() {
323 #if defined(ENABLE_EXTENSIONS) 326 #if defined(ENABLE_EXTENSIONS)
324 return extension_event_router_forwarder_; 327 return extension_event_router_forwarder_;
325 #else 328 #else
326 return NULL; 329 return NULL;
327 #endif 330 #endif
328 } 331 }
329 // Configures QUIC options in |globals| based on the flags in |command_line| 332 // Configures QUIC options in |globals| based on the flags in |command_line|
330 // as well as the QUIC field trial group and parameters. 333 // as well as the QUIC field trial group and parameters.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 bool is_spdy_disabled_by_policy_; 457 bool is_spdy_disabled_by_policy_;
455 458
456 const base::TimeTicks creation_time_; 459 const base::TimeTicks creation_time_;
457 460
458 base::WeakPtrFactory<IOThread> weak_factory_; 461 base::WeakPtrFactory<IOThread> weak_factory_;
459 462
460 DISALLOW_COPY_AND_ASSIGN(IOThread); 463 DISALLOW_COPY_AND_ASSIGN(IOThread);
461 }; 464 };
462 465
463 #endif // CHROME_BROWSER_IO_THREAD_H_ 466 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698