| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 // These member variables are basically global, but their lifetimes are tied | 284 // These member variables are basically global, but their lifetimes are tied |
| 285 // to the IOThread. IOThread owns them all, despite not using scoped_ptr. | 285 // to the IOThread. IOThread owns them all, despite not using scoped_ptr. |
| 286 // This is because the destructor of IOThread runs on the wrong thread. All | 286 // This is because the destructor of IOThread runs on the wrong thread. All |
| 287 // member variables should be deleted in CleanUp(). | 287 // member variables should be deleted in CleanUp(). |
| 288 | 288 |
| 289 // These member variables are initialized in Init() and do not change for the | 289 // These member variables are initialized in Init() and do not change for the |
| 290 // lifetime of the IO thread. | 290 // lifetime of the IO thread. |
| 291 | 291 |
| 292 Globals* globals_; | 292 Globals* globals_; |
| 293 | 293 |
| 294 net::HttpNetworkSession::Params params_; | 294 net::HttpNetworkSession::Params session_params_; |
| 295 | 295 |
| 296 // Observer that logs network changes to the ChromeNetLog. | 296 // Observer that logs network changes to the ChromeNetLog. |
| 297 std::unique_ptr<net::LoggingNetworkChangeObserver> network_change_observer_; | 297 std::unique_ptr<net::LoggingNetworkChangeObserver> network_change_observer_; |
| 298 | 298 |
| 299 std::unique_ptr<certificate_transparency::TreeStateTracker> ct_tree_tracker_; | 299 std::unique_ptr<certificate_transparency::TreeStateTracker> ct_tree_tracker_; |
| 300 | 300 |
| 301 BooleanPrefMember system_enable_referrers_; | 301 BooleanPrefMember system_enable_referrers_; |
| 302 | 302 |
| 303 BooleanPrefMember dns_client_enabled_; | 303 BooleanPrefMember dns_client_enabled_; |
| 304 | 304 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 bool http_09_on_non_default_ports_enabled_; | 350 bool http_09_on_non_default_ports_enabled_; |
| 351 | 351 |
| 352 const base::TimeTicks creation_time_; | 352 const base::TimeTicks creation_time_; |
| 353 | 353 |
| 354 base::WeakPtrFactory<IOThread> weak_factory_; | 354 base::WeakPtrFactory<IOThread> weak_factory_; |
| 355 | 355 |
| 356 DISALLOW_COPY_AND_ASSIGN(IOThread); | 356 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 357 }; | 357 }; |
| 358 | 358 |
| 359 #endif // CHROME_BROWSER_IO_THREAD_H_ | 359 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |