| 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_NET_CHROME_NETWORK_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
| 19 #include "chrome/browser/net/safe_search_util.h" | 19 #include "chrome/browser/net/safe_search_util.h" |
| 20 #include "components/prefs/pref_member.h" | 20 #include "components/prefs/pref_member.h" |
| 21 #include "net/base/network_delegate_impl.h" | 21 #include "net/base/network_delegate_impl.h" |
| 22 | 22 |
| 23 class ChromeExtensionsNetworkDelegate; | 23 class ChromeExtensionsNetworkDelegate; |
| 24 class PrefService; | 24 class PrefService; |
| 25 | 25 |
| 26 template<class T> class PrefMember; | 26 template<class T> class PrefMember; |
| 27 | 27 |
| 28 typedef PrefMember<bool> BooleanPrefMember; | 28 typedef PrefMember<bool> BooleanPrefMember; |
| 29 | 29 |
| 30 namespace base { | |
| 31 class Value; | |
| 32 } | |
| 33 | |
| 34 namespace content_settings { | 30 namespace content_settings { |
| 35 class CookieSettings; | 31 class CookieSettings; |
| 36 } | 32 } |
| 37 | 33 |
| 38 namespace data_usage { | 34 namespace data_usage { |
| 39 class DataUseAggregator; | 35 class DataUseAggregator; |
| 40 } | 36 } |
| 41 | 37 |
| 42 namespace domain_reliability { | 38 namespace domain_reliability { |
| 43 class DomainReliabilityMonitor; | 39 class DomainReliabilityMonitor; |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 212 |
| 217 // Aggregates and reports network usage. | 213 // Aggregates and reports network usage. |
| 218 data_usage::DataUseAggregator* data_use_aggregator_; | 214 data_usage::DataUseAggregator* data_use_aggregator_; |
| 219 // Controls whether network usage is reported as being off the record. | 215 // Controls whether network usage is reported as being off the record. |
| 220 bool is_data_usage_off_the_record_; | 216 bool is_data_usage_off_the_record_; |
| 221 | 217 |
| 222 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 218 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
| 223 }; | 219 }; |
| 224 | 220 |
| 225 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 221 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| OLD | NEW |