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

Unified Diff: components/offline_pages/offline_page_storage_manager.cc

Issue 2505163004: Move const double data out of header file (Closed)
Patch Set: Remove duplicate comments Created 4 years, 1 month 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/offline_pages/offline_page_storage_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_storage_manager.cc
diff --git a/components/offline_pages/offline_page_storage_manager.cc b/components/offline_pages/offline_page_storage_manager.cc
index cc3fd4cd5b7057656144556701aa16e924a98baf..8202ab7884fb1534300bf75cb68000a7ac0c02a3 100644
--- a/components/offline_pages/offline_page_storage_manager.cc
+++ b/components/offline_pages/offline_page_storage_manager.cc
@@ -18,6 +18,13 @@ using LifetimeType = offline_pages::LifetimePolicy::LifetimeType;
namespace offline_pages {
+extern const double kOfflinePageStorageLimit = 0.3;
+extern const double kOfflinePageStorageClearThreshold = 0.1;
+extern const base::TimeDelta kClearStorageInterval =
+ base::TimeDelta::FromMinutes(10);
+extern const base::TimeDelta kRemovePageItemInterval =
+ base::TimeDelta::FromDays(21);
+
OfflinePageStorageManager::OfflinePageStorageManager(
OfflinePageModel* model,
ClientPolicyController* policy_controller,
« no previous file with comments | « components/offline_pages/offline_page_storage_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698