| 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 20 matching lines...) Expand all Loading... |
| 31 #include "content/public/browser/browser_thread_delegate.h" | 31 #include "content/public/browser/browser_thread_delegate.h" |
| 32 #include "extensions/features/features.h" | 32 #include "extensions/features/features.h" |
| 33 #include "net/base/network_change_notifier.h" | 33 #include "net/base/network_change_notifier.h" |
| 34 #include "net/http/http_network_session.h" | 34 #include "net/http/http_network_session.h" |
| 35 | 35 |
| 36 class PrefProxyConfigTracker; | 36 class PrefProxyConfigTracker; |
| 37 class PrefService; | 37 class PrefService; |
| 38 class PrefRegistrySimple; | 38 class PrefRegistrySimple; |
| 39 class SystemURLRequestContextGetter; | 39 class SystemURLRequestContextGetter; |
| 40 | 40 |
| 41 #if BUILDFLAG(ANDROID_JAVA_UI) | 41 #if defined(OS_ANDROID) |
| 42 namespace chrome { | 42 namespace chrome { |
| 43 namespace android { | 43 namespace android { |
| 44 class ExternalDataUseObserver; | 44 class ExternalDataUseObserver; |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 #endif // BUILDFLAG(ANDROID_JAVA_UI) | 47 #endif // defined(OS_ANDROID) |
| 48 | 48 |
| 49 namespace base { | 49 namespace base { |
| 50 class CommandLine; | 50 class CommandLine; |
| 51 } | 51 } |
| 52 | 52 |
| 53 namespace certificate_transparency { | 53 namespace certificate_transparency { |
| 54 class TreeStateTracker; | 54 class TreeStateTracker; |
| 55 } | 55 } |
| 56 | 56 |
| 57 namespace chrome_browser_net { | 57 namespace chrome_browser_net { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 Globals(); | 132 Globals(); |
| 133 ~Globals(); | 133 ~Globals(); |
| 134 | 134 |
| 135 // Ascribes all data use in Chrome to a source, such as page loads. | 135 // Ascribes all data use in Chrome to a source, such as page loads. |
| 136 std::unique_ptr<data_use_measurement::ChromeDataUseAscriber> | 136 std::unique_ptr<data_use_measurement::ChromeDataUseAscriber> |
| 137 data_use_ascriber; | 137 data_use_ascriber; |
| 138 // Global aggregator of data use. It must outlive the | 138 // Global aggregator of data use. It must outlive the |
| 139 // |system_network_delegate|. | 139 // |system_network_delegate|. |
| 140 std::unique_ptr<data_usage::DataUseAggregator> data_use_aggregator; | 140 std::unique_ptr<data_usage::DataUseAggregator> data_use_aggregator; |
| 141 #if BUILDFLAG(ANDROID_JAVA_UI) | 141 #if defined(OS_ANDROID) |
| 142 // An external observer of data use. | 142 // An external observer of data use. |
| 143 std::unique_ptr<chrome::android::ExternalDataUseObserver> | 143 std::unique_ptr<chrome::android::ExternalDataUseObserver> |
| 144 external_data_use_observer; | 144 external_data_use_observer; |
| 145 #endif // BUILDFLAG(ANDROID_JAVA_UI) | 145 #endif // defined(OS_ANDROID) |
| 146 // The "system" NetworkDelegate, used for Profile-agnostic network events. | 146 // The "system" NetworkDelegate, used for Profile-agnostic network events. |
| 147 std::unique_ptr<net::NetworkDelegate> system_network_delegate; | 147 std::unique_ptr<net::NetworkDelegate> system_network_delegate; |
| 148 std::unique_ptr<net::HostResolver> host_resolver; | 148 std::unique_ptr<net::HostResolver> host_resolver; |
| 149 std::unique_ptr<net::CertVerifier> cert_verifier; | 149 std::unique_ptr<net::CertVerifier> cert_verifier; |
| 150 // The ChannelIDService must outlive the HttpTransactionFactory. | 150 // The ChannelIDService must outlive the HttpTransactionFactory. |
| 151 std::unique_ptr<net::ChannelIDService> system_channel_id_service; | 151 std::unique_ptr<net::ChannelIDService> system_channel_id_service; |
| 152 // This TransportSecurityState doesn't load or save any state. It's only | 152 // This TransportSecurityState doesn't load or save any state. It's only |
| 153 // used to enforce pinning for system requests and will only use built-in | 153 // used to enforce pinning for system requests and will only use built-in |
| 154 // pins. | 154 // pins. |
| 155 std::unique_ptr<net::TransportSecurityState> transport_security_state; | 155 std::unique_ptr<net::TransportSecurityState> transport_security_state; |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 bool http_09_on_non_default_ports_enabled_; | 398 bool http_09_on_non_default_ports_enabled_; |
| 399 | 399 |
| 400 const base::TimeTicks creation_time_; | 400 const base::TimeTicks creation_time_; |
| 401 | 401 |
| 402 base::WeakPtrFactory<IOThread> weak_factory_; | 402 base::WeakPtrFactory<IOThread> weak_factory_; |
| 403 | 403 |
| 404 DISALLOW_COPY_AND_ASSIGN(IOThread); | 404 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 405 }; | 405 }; |
| 406 | 406 |
| 407 #endif // CHROME_BROWSER_IO_THREAD_H_ | 407 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |