summaryrefslogtreecommitdiffstats
path: root/storage/browser/quota/quota_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/browser/quota/quota_database.h')
-rw-r--r--storage/browser/quota/quota_database.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/browser/quota/quota_database.h b/storage/browser/quota/quota_database.h
index 02a76fc..09e90b3 100644
--- a/storage/browser/quota/quota_database.h
+++ b/storage/browser/quota/quota_database.h
@@ -58,6 +58,14 @@ class STORAGE_EXPORT_PRIVATE QuotaDatabase {
StorageType type,
base::Time last_modified_time);
+ bool GetOriginLastEvictionTime(const GURL& origin,
+ StorageType type,
+ base::Time* last_eviction_time);
+ bool SetOriginLastEvictionTime(const GURL& origin,
+ StorageType type,
+ base::Time last_eviction_time);
+ bool DeleteOriginLastEvictionTime(const GURL& origin, StorageType type);
+
// Register initial |origins| info |type| to the database.
// This method is assumed to be called only after the installation or
// the database schema reset.