| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
|
| index 527ed8e0298b35a4765a111cc64b189012cd67f0..09c9660931e81466e90a65a1cf6df90a2f62dbfd 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
|
| @@ -41,38 +41,11 @@
|
| registry->RegisterBooleanPref(prefs::kUpdateDailyReceivedContentLengths,
|
| false);
|
| registry->RegisterListPref(prefs::kDailyHttpOriginalContentLength);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpOriginalContentLengthApplication,
|
| - 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpOriginalContentLengthVideo, 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpOriginalContentLengthUnknown,
|
| - 0L);
|
| -
|
| registry->RegisterListPref(prefs::kDailyHttpReceivedContentLength);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpReceivedContentLengthApplication,
|
| - 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpReceivedContentLengthVideo, 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpReceivedContentLengthUnknown,
|
| - 0L);
|
| -
|
| registry->RegisterListPref(
|
| prefs::kDailyOriginalContentLengthWithDataReductionProxyEnabled);
|
| - registry->RegisterInt64Pref(
|
| - prefs::
|
| - kDailyOriginalContentLengthWithDataReductionProxyEnabledApplication,
|
| - 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthWithDataReductionProxyEnabledVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthWithDataReductionProxyEnabledUnknown,
|
| - 0L);
|
| registry->RegisterListPref(
|
| prefs::kDailyContentLengthWithDataReductionProxyEnabled);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthWithDataReductionProxyEnabledApplication, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthWithDataReductionProxyEnabledVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthWithDataReductionProxyEnabledUnknown, 0L);
|
| registry->RegisterListPref(
|
| prefs::kDailyContentLengthHttpsWithDataReductionProxyEnabled);
|
| registry->RegisterListPref(
|
| @@ -83,20 +56,7 @@
|
| prefs::kDailyContentLengthUnknownWithDataReductionProxyEnabled);
|
| registry->RegisterListPref(
|
| prefs::kDailyOriginalContentLengthViaDataReductionProxy);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthViaDataReductionProxyApplication, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthViaDataReductionProxyVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthViaDataReductionProxyUnknown, 0L);
|
| registry->RegisterListPref(prefs::kDailyContentLengthViaDataReductionProxy);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthViaDataReductionProxyApplication, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthViaDataReductionProxyVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthViaDataReductionProxyUnknown, 0L);
|
| -
|
| registry->RegisterInt64Pref(prefs::kDailyHttpContentLengthLastUpdateDate, 0L);
|
| registry->RegisterIntegerPref(prefs::kLoFiImplicitOptOutEpoch, 0);
|
| registry->RegisterIntegerPref(prefs::kLoFiLoadImagesPerSession, 0);
|
| @@ -126,38 +86,14 @@
|
| prefs::kHttpOriginalContentLength, 0);
|
| registry->RegisterListPref(
|
| prefs::kDailyHttpOriginalContentLength);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpOriginalContentLengthApplication,
|
| - 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpOriginalContentLengthVideo, 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpOriginalContentLengthUnknown,
|
| - 0L);
|
| - registry->RegisterListPref(prefs::kDailyHttpReceivedContentLength);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpReceivedContentLengthApplication,
|
| - 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpReceivedContentLengthVideo, 0L);
|
| - registry->RegisterInt64Pref(prefs::kDailyHttpReceivedContentLengthUnknown,
|
| - 0L);
|
| + registry->RegisterListPref(
|
| + prefs::kDailyHttpReceivedContentLength);
|
| registry->RegisterBooleanPref(prefs::kUpdateDailyReceivedContentLengths,
|
| false);
|
| registry->RegisterListPref(
|
| prefs::kDailyOriginalContentLengthWithDataReductionProxyEnabled);
|
| - registry->RegisterInt64Pref(
|
| - prefs::
|
| - kDailyOriginalContentLengthWithDataReductionProxyEnabledApplication,
|
| - 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthWithDataReductionProxyEnabledVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthWithDataReductionProxyEnabledUnknown,
|
| - 0L);
|
| registry->RegisterListPref(
|
| prefs::kDailyContentLengthWithDataReductionProxyEnabled);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthWithDataReductionProxyEnabledApplication, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthWithDataReductionProxyEnabledVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthWithDataReductionProxyEnabledUnknown, 0L);
|
| registry->RegisterListPref(
|
| prefs::kDailyContentLengthHttpsWithDataReductionProxyEnabled);
|
| registry->RegisterListPref(
|
| @@ -168,19 +104,8 @@
|
| prefs::kDailyContentLengthUnknownWithDataReductionProxyEnabled);
|
| registry->RegisterListPref(
|
| prefs::kDailyOriginalContentLengthViaDataReductionProxy);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthViaDataReductionProxyApplication, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthViaDataReductionProxyVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyOriginalContentLengthViaDataReductionProxyUnknown, 0L);
|
| - registry->RegisterListPref(prefs::kDailyContentLengthViaDataReductionProxy);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthViaDataReductionProxyApplication, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthViaDataReductionProxyVideo, 0L);
|
| - registry->RegisterInt64Pref(
|
| - prefs::kDailyContentLengthViaDataReductionProxyUnknown, 0L);
|
| + registry->RegisterListPref(
|
| + prefs::kDailyContentLengthViaDataReductionProxy);
|
| registry->RegisterInt64Pref(
|
| prefs::kDailyHttpContentLengthLastUpdateDate, 0L);
|
| registry->RegisterIntegerPref(prefs::kLoFiImplicitOptOutEpoch, 0);
|
|
|