Chromium Code Reviews| Index: components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc |
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc |
| index c4770d2cb5f9d40b6c6b45769068a74c48af7b8b..3c375b72359c8418936bdcfa6be9ff6db5ae2a63 100644 |
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc |
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc |
| @@ -27,6 +27,8 @@ void RegisterSyncableProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
| user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
| } |
| +// Add any new data reduction proxy prefs to the |pref_map_| in Init() of |
|
bengr
2014/08/28 21:38:35
This comment is wrong. You only need the comment a
megjablon
2014/08/30 01:10:04
Done.
|
| +// DataReductionProxyStatisticsPrefs. |
| void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry) { |
| registry->RegisterBooleanPref( |
| data_reduction_proxy::prefs::kDataReductionProxyEnabled, false); |
| @@ -36,6 +38,8 @@ void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry) { |
| data_reduction_proxy::prefs::kDataReductionProxyWasEnabledBefore, false); |
| } |
| +// Add any new data reduction proxy prefs to the |list_pref_map_| in Init() of |
| +// DataReductionProxyStatisticsPrefs. |
| void RegisterPrefs(PrefRegistrySimple* registry) { |
| registry->RegisterInt64Pref( |
| prefs::kHttpReceivedContentLength, 0); |