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

Unified Diff: components/offline_pages/offline_page_storage_manager.h

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 | « no previous file | components/offline_pages/offline_page_storage_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_storage_manager.h
diff --git a/components/offline_pages/offline_page_storage_manager.h b/components/offline_pages/offline_page_storage_manager.h
index 28fa130002123d0122577f9485ba15f8ece573ec..25f891f6900ede9643e3391fd1d4507cc1f3f46d 100644
--- a/components/offline_pages/offline_page_storage_manager.h
+++ b/components/offline_pages/offline_page_storage_manager.h
@@ -24,14 +24,14 @@ namespace offline_pages {
// Maximum % of total available storage that will be occupied by offline pages
// before a storage clearup.
-const double kOfflinePageStorageLimit = 0.3;
+extern const double kOfflinePageStorageLimit;
// The target % of storage usage we try to reach below when expiring pages.
-const double kOfflinePageStorageClearThreshold = 0.1;
+extern const double kOfflinePageStorageClearThreshold;
// The time that the storage cleanup will be triggered again since the last one.
-const base::TimeDelta kClearStorageInterval = base::TimeDelta::FromMinutes(10);
+extern const base::TimeDelta kClearStorageInterval;
// The time that the page record will be removed from the store since the page
// has been expired.
-const base::TimeDelta kRemovePageItemInterval = base::TimeDelta::FromDays(21);
+extern const base::TimeDelta kRemovePageItemInterval;
class ClientPolicyController;
class OfflinePageModel;
« no previous file with comments | « no previous file | components/offline_pages/offline_page_storage_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698