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

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

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed bengr comments - II. 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
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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 net::SSLConfigService* GetSSLConfigService(); 300 net::SSLConfigService* GetSSLConfigService();
301 301
302 void ChangedToOnTheRecordOnIOThread(); 302 void ChangedToOnTheRecordOnIOThread();
303 303
304 void UpdateDnsClientEnabled(); 304 void UpdateDnsClientEnabled();
305 305
306 // Configures QUIC options based on the flags in |command_line| as 306 // Configures QUIC options based on the flags in |command_line| as
307 // well as the QUIC field trial group. 307 // well as the QUIC field trial group.
308 void ConfigureQuic(const base::CommandLine& command_line); 308 void ConfigureQuic(const base::CommandLine& command_line);
309 309
310 // Set up data reduction proxy related objects on |IOThread::Globals|
311 void SetupDataReductionProxy(ChromeNetworkDelegate* network_delegate);
Ryan Sleevi 2014/07/22 01:56:30 The Data Reduction Proxy is inherently privacy sen
Not at Google. Contact bengr 2014/07/22 23:03:53 We do not proxy incognito. We are making a change
312
310 extensions::EventRouterForwarder* extension_event_router_forwarder() { 313 extensions::EventRouterForwarder* extension_event_router_forwarder() {
311 #if defined(ENABLE_EXTENSIONS) 314 #if defined(ENABLE_EXTENSIONS)
312 return extension_event_router_forwarder_; 315 return extension_event_router_forwarder_;
313 #else 316 #else
314 return NULL; 317 return NULL;
315 #endif 318 #endif
316 } 319 }
317 // Configures QUIC options in |globals| based on the flags in |command_line| 320 // Configures QUIC options in |globals| based on the flags in |command_line|
318 // as well as the QUIC field trial group and parameters. 321 // as well as the QUIC field trial group and parameters.
319 static void ConfigureQuicGlobals( 322 static void ConfigureQuicGlobals(
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 bool is_spdy_disabled_by_policy_; 442 bool is_spdy_disabled_by_policy_;
440 443
441 base::WeakPtrFactory<IOThread> weak_factory_; 444 base::WeakPtrFactory<IOThread> weak_factory_;
442 445
443 const base::TimeTicks creation_time_; 446 const base::TimeTicks creation_time_;
444 447
445 DISALLOW_COPY_AND_ASSIGN(IOThread); 448 DISALLOW_COPY_AND_ASSIGN(IOThread);
446 }; 449 };
447 450
448 #endif // CHROME_BROWSER_IO_THREAD_H_ 451 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698