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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc

Issue 644883006: Pref to update daily content lengths with the latest values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add new include Created 6 years, 2 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
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc
index 20f9465af5cf15ac9a3b4e882025254a6e8c958a..a086117038ec4783bee2bb4d5de35752190007a9 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc
@@ -93,5 +93,12 @@ const char kHttpOriginalContentLength[] = "http_original_content_length";
const char kStatisticsPrefsMigrated[] =
"data_reduction.statistics_prefs_migrated";
+// Pref to indicate that the kDailyHttpOriginalContentLength and
+// kDailyHttpReceivedContentLength prefs must be updated with their latest
+// value. These values are cached in memory on platforms other than Android and
+// iOS for performance reasons.
+const char kUpdateDailyReceivedContentLengths[] =
+ "data_reduction.update_daily_lengths";
+
} // namespace prefs
} // namespace data_reduction_proxy
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698