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

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 2317153003: [NTP Snippets] Increase default expiry time to 3 days (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/ntp_snippets_service.cc
diff --git a/components/ntp_snippets/ntp_snippets_service.cc b/components/ntp_snippets/ntp_snippets_service.cc
index e3848583da8be596aab2cc67622d0cace4a2018b..2e42b7adfd917ff3db30a4ee11ea7a43c2310767 100644
--- a/components/ntp_snippets/ntp_snippets_service.cc
+++ b/components/ntp_snippets/ntp_snippets_service.cc
@@ -68,7 +68,7 @@ const char kFetchingIntervalFallbackParamName[] =
const int kWifiFetchingHourMin = 6;
const int kWifiFetchingHourMax = 22;
-const int kDefaultExpiryTimeMins = 24 * 60;
+const int kDefaultExpiryTimeMins = 3 * 24 * 60;
base::TimeDelta GetFetchingInterval(const char* switch_name,
const char* param_name,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698