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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/quota/quota_database.h b/webkit/quota/quota_database.h
index 2e27c1f..4cc55cb 100644
--- a/webkit/quota/quota_database.h
+++ b/webkit/quota/quota_database.h
@@ -6,6 +6,7 @@
#define WEBKIT_QUOTA_QUOTA_DATABASE_H_
#include <set>
+#include <string>
#include "base/basictypes.h"
#include "base/file_path.h"
@@ -52,6 +53,12 @@ class QuotaDatabase {
const std::set<GURL>& exceptions,
GURL* origin);
+ // Returns false if SetOriginDatabaseBootstrapped has never
+ // been called before, which means existing origins may not have been
+ // registered.
+ bool IsOriginDatabaseBootstrapped();
+ bool SetOriginDatabaseBootstrapped(bool bootstrap_flag);
+
private:
bool FindOriginUsedCount(const GURL& origin,
StorageType type,