| OLD | NEW | 
|---|
| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 310 | 310 | 
| 311   void ChangedToOnTheRecordOnIOThread(); | 311   void ChangedToOnTheRecordOnIOThread(); | 
| 312 | 312 | 
| 313   void UpdateDnsClientEnabled(); | 313   void UpdateDnsClientEnabled(); | 
| 314 | 314 | 
| 315   // Configures QUIC options based on the flags in |command_line| as | 315   // Configures QUIC options based on the flags in |command_line| as | 
| 316   // well as the QUIC field trial group. | 316   // well as the QUIC field trial group. | 
| 317   void ConfigureQuic(const base::CommandLine& command_line); | 317   void ConfigureQuic(const base::CommandLine& command_line); | 
| 318 | 318 | 
| 319   // Set up data reduction proxy related objects on IO thread globals. | 319   // Set up data reduction proxy related objects on IO thread globals. | 
| 320   void SetupDataReductionProxy(ChromeNetworkDelegate* network_delegate); | 320   void SetupDataReductionProxy(); | 
| 321 | 321 | 
| 322   extensions::EventRouterForwarder* extension_event_router_forwarder() { | 322   extensions::EventRouterForwarder* extension_event_router_forwarder() { | 
| 323 #if defined(ENABLE_EXTENSIONS) | 323 #if defined(ENABLE_EXTENSIONS) | 
| 324     return extension_event_router_forwarder_; | 324     return extension_event_router_forwarder_; | 
| 325 #else | 325 #else | 
| 326     return NULL; | 326     return NULL; | 
| 327 #endif | 327 #endif | 
| 328   } | 328   } | 
| 329   // Configures QUIC options in |globals| based on the flags in |command_line| | 329   // Configures QUIC options in |globals| based on the flags in |command_line| | 
| 330   // as well as the QUIC field trial group and parameters. | 330   // as well as the QUIC field trial group and parameters. | 
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 454   bool is_spdy_disabled_by_policy_; | 454   bool is_spdy_disabled_by_policy_; | 
| 455 | 455 | 
| 456   const base::TimeTicks creation_time_; | 456   const base::TimeTicks creation_time_; | 
| 457 | 457 | 
| 458   base::WeakPtrFactory<IOThread> weak_factory_; | 458   base::WeakPtrFactory<IOThread> weak_factory_; | 
| 459 | 459 | 
| 460   DISALLOW_COPY_AND_ASSIGN(IOThread); | 460   DISALLOW_COPY_AND_ASSIGN(IOThread); | 
| 461 }; | 461 }; | 
| 462 | 462 | 
| 463 #endif  // CHROME_BROWSER_IO_THREAD_H_ | 463 #endif  // CHROME_BROWSER_IO_THREAD_H_ | 
| OLD | NEW | 
|---|