Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc

Issue 473723002: Update data reduction proxy statistics prefs less often on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tooManyWritesPatch
Patch Set: Removing statistics prefs from Android WebView Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..243303cdc2aad9ba5721359bf92ddc0aa07a34c6 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc
@@ -36,6 +36,8 @@ void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry) {
data_reduction_proxy::prefs::kDataReductionProxyWasEnabledBefore, false);
}
+// Add any new data reduction proxy prefs to the |pref_map_| or the
+// |list_pref_map_| in Init() of DataReductionProxyStatisticsPrefs.
void RegisterPrefs(PrefRegistrySimple* registry) {
registry->RegisterInt64Pref(
prefs::kHttpReceivedContentLength, 0);

Powered by Google App Engine
This is Rietveld 408576698