Index: components/history/core/browser/top_sites_impl.cc |
diff --git a/components/history/core/browser/top_sites_impl.cc b/components/history/core/browser/top_sites_impl.cc |
index 4df526b6d3bb08c506f6221bba7c9c609cb06862..20c91e81e34ca26d0cc01c94ebd183a926b77117 100644 |
--- a/components/history/core/browser/top_sites_impl.cc |
+++ b/components/history/core/browser/top_sites_impl.cc |
@@ -75,7 +75,14 @@ const int kDaysOfHistory = 90; |
const int64 kUpdateIntervalSecs = 15; |
// Intervals between requests to HistoryService. |
const int64 kMinUpdateIntervalMinutes = 1; |
+#if !defined(OS_IOS) |
const int64 kMaxUpdateIntervalMinutes = 60; |
+#else |
+// On mobile, having the max at 60 results in the topsites database being |
sky
2015/05/11 15:10:00
Your comment says mobile, you're ifdef says ios. S
sdefresne
2015/05/11 15:49:21
I don't know. Do you know who I can ask?
|
+// not updated often enough since the app isn't usually running for long |
+// stretches of time. |
+const int64 kMaxUpdateIntervalMinutes = 5; |
+#endif // !defined(OS_IOS) |
// Use 100 quality (highest quality) because we're very sensitive to |
// artifacts for these small sized, highly detailed images. |