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 8ad028bfff07ccd17b6491ef1720c9b36327b1e9..1edb4c8c6e46cd640bebefb9dc73563ea04587f9 100644 |
--- a/components/ntp_snippets/ntp_snippets_service.cc |
+++ b/components/ntp_snippets/ntp_snippets_service.cc |
@@ -50,9 +50,9 @@ namespace { |
// histograms with COUNTS() if this number increases beyond 50. |
const int kMaxSnippetCount = 10; |
-// Default values for snippets fetching intervals. |
-const int kDefaultFetchingIntervalWifiChargingSeconds = 30 * 60; |
-const int kDefaultFetchingIntervalWifiSeconds = 2 * 60 * 60; |
+// Default values for snippets fetching intervals - once per day only. |
+const int kDefaultFetchingIntervalWifiChargingSeconds = 0; |
tschumann
2016/08/25 20:28:52
it would be really good to document this behavior
Marc Treib
2016/08/26 08:24:49
A value of "0" disables the fetching, correct. Tha
tschumann
2016/08/29 12:38:41
yes, cause when choosing these values you rely on
|
+const int kDefaultFetchingIntervalWifiSeconds = 0; |
const int kDefaultFetchingIntervalFallbackSeconds = 24 * 60 * 60; |
// Variation parameters than can override the default fetching intervals. |