| 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 <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "build/build_config.h" |
| 18 #include "net/base/network_delegate_impl.h" | 19 #include "net/base/network_delegate_impl.h" |
| 19 | 20 |
| 20 #if !defined(OS_IOS) | 21 #if !defined(OS_IOS) |
| 21 #include "components/data_use_measurement/content/data_use_measurement.h" | 22 #include "components/data_use_measurement/content/data_use_measurement.h" |
| 22 #endif | 23 #endif |
| 23 | 24 |
| 24 class ChromeExtensionsNetworkDelegate; | 25 class ChromeExtensionsNetworkDelegate; |
| 25 class PrefService; | 26 class PrefService; |
| 26 | 27 |
| 27 template<class T> class PrefMember; | 28 template<class T> class PrefMember; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 228 |
| 228 // Aggregates and reports network usage. | 229 // Aggregates and reports network usage. |
| 229 data_usage::DataUseAggregator* data_use_aggregator_; | 230 data_usage::DataUseAggregator* data_use_aggregator_; |
| 230 // Controls whether network usage is reported as being off the record. | 231 // Controls whether network usage is reported as being off the record. |
| 231 bool is_data_usage_off_the_record_; | 232 bool is_data_usage_off_the_record_; |
| 232 | 233 |
| 233 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 234 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
| 234 }; | 235 }; |
| 235 | 236 |
| 236 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 237 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| OLD | NEW |