summaryrefslogtreecommitdiffstats
path: root/webkit/quota/quota_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/quota/quota_database.h')
-rw-r--r--webkit/quota/quota_database.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/webkit/quota/quota_database.h b/webkit/quota/quota_database.h
index ec437f1..7a816f6 100644
--- a/webkit/quota/quota_database.h
+++ b/webkit/quota/quota_database.h
@@ -33,6 +33,10 @@ class SpecialStoragePolicy;
// All the methods of this class must run on the DB thread.
class QuotaDatabase {
public:
+ // Constants for {Get,Set}QuotaConfigValue keys.
+ static const char kDesiredAvailableSpaceKey[];
+ static const char kTemporaryQuotaOverrideKey[];
+
// If 'path' is empty, an in memory database will be used.
explicit QuotaDatabase(const FilePath& path);
~QuotaDatabase();
@@ -59,8 +63,8 @@ class QuotaDatabase {
bool DeleteOriginInfo(const GURL& origin, StorageType type);
- bool GetGlobalQuota(StorageType type, int64* quota);
- bool SetGlobalQuota(StorageType type, int64 quota);
+ bool GetQuotaConfigValue(const char* key, int64* value);
+ bool SetQuotaConfigValue(const char* key, int64 value);
// Sets |origin| to the least recently used origin of origins not included
// in |exceptions| and not granted the special unlimited storage right.