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

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: Test fix Created 6 years 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 void ChangedToOnTheRecordOnIOThread(); 313 void ChangedToOnTheRecordOnIOThread();
314 314
315 void UpdateDnsClientEnabled(); 315 void UpdateDnsClientEnabled();
316 316
317 // Configures QUIC options based on the flags in |command_line| as 317 // Configures QUIC options based on the flags in |command_line| as
318 // well as the QUIC field trial group. 318 // well as the QUIC field trial group.
319 void ConfigureQuic(const base::CommandLine& command_line); 319 void ConfigureQuic(const base::CommandLine& command_line);
320 320
321 // Set up data reduction proxy related objects on IO thread globals. 321 // Set up data reduction proxy related objects on IO thread globals.
322 void SetupDataReductionProxy(ChromeNetworkDelegate* network_delegate); 322 void SetupDataReductionProxy();
323 323
324 extensions::EventRouterForwarder* extension_event_router_forwarder() { 324 extensions::EventRouterForwarder* extension_event_router_forwarder() {
325 #if defined(ENABLE_EXTENSIONS) 325 #if defined(ENABLE_EXTENSIONS)
326 return extension_event_router_forwarder_; 326 return extension_event_router_forwarder_;
327 #else 327 #else
328 return NULL; 328 return NULL;
329 #endif 329 #endif
330 } 330 }
331 // Configures QUIC options in |globals| based on the flags in |command_line| 331 // Configures QUIC options in |globals| based on the flags in |command_line|
332 // as well as the QUIC field trial group and parameters. 332 // as well as the QUIC field trial group and parameters.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 bool is_spdy_disabled_by_policy_; 456 bool is_spdy_disabled_by_policy_;
457 457
458 const base::TimeTicks creation_time_; 458 const base::TimeTicks creation_time_;
459 459
460 base::WeakPtrFactory<IOThread> weak_factory_; 460 base::WeakPtrFactory<IOThread> weak_factory_;
461 461
462 DISALLOW_COPY_AND_ASSIGN(IOThread); 462 DISALLOW_COPY_AND_ASSIGN(IOThread);
463 }; 463 };
464 464
465 #endif // CHROME_BROWSER_IO_THREAD_H_ 465 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698