| 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" | 12 #include "base/basictypes.h" | 
| 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/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 "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr
     ics.h" | 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr
     ics.h" | 
| 19 #include "net/base/network_delegate_impl.h" | 19 #include "net/base/network_delegate_impl.h" | 
| 20 | 20 | 
|  | 21 #if !defined(OS_IOS) | 
|  | 22 #include "components/data_use_measurement/content/data_use_measurement.h" | 
|  | 23 #endif | 
|  | 24 | 
| 21 class ChromeExtensionsNetworkDelegate; | 25 class ChromeExtensionsNetworkDelegate; | 
| 22 class PrefService; | 26 class PrefService; | 
| 23 | 27 | 
| 24 template<class T> class PrefMember; | 28 template<class T> class PrefMember; | 
| 25 | 29 | 
| 26 typedef PrefMember<bool> BooleanPrefMember; | 30 typedef PrefMember<bool> BooleanPrefMember; | 
| 27 | 31 | 
| 28 namespace base { | 32 namespace base { | 
| 29 class Value; | 33 class Value; | 
| 30 } | 34 } | 
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 195 | 199 | 
| 196   // Weak, owned by our owner. | 200   // Weak, owned by our owner. | 
| 197 #if defined(ENABLE_CONFIGURATION_POLICY) | 201 #if defined(ENABLE_CONFIGURATION_POLICY) | 
| 198   const policy::URLBlacklistManager* url_blacklist_manager_; | 202   const policy::URLBlacklistManager* url_blacklist_manager_; | 
| 199 #endif | 203 #endif | 
| 200   domain_reliability::DomainReliabilityMonitor* domain_reliability_monitor_; | 204   domain_reliability::DomainReliabilityMonitor* domain_reliability_monitor_; | 
| 201 | 205 | 
| 202   // When true, allow access to all file:// URLs. | 206   // When true, allow access to all file:// URLs. | 
| 203   static bool g_allow_file_access_; | 207   static bool g_allow_file_access_; | 
| 204 | 208 | 
|  | 209 // Component to measure data use. | 
|  | 210 #if !defined(OS_IOS) | 
|  | 211   data_use_measurement::DataUseMeasurement data_use_measurement_; | 
|  | 212 #endif | 
|  | 213 | 
| 205   bool experimental_web_platform_features_enabled_; | 214   bool experimental_web_platform_features_enabled_; | 
| 206 | 215 | 
| 207   DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 216   DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 
| 208 }; | 217 }; | 
| 209 | 218 | 
| 210 #endif  // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 219 #endif  // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 
| OLD | NEW | 
|---|