summaryrefslogtreecommitdiffstats
path: root/webkit/quota/quota_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/quota/quota_client.h')
-rw-r--r--webkit/quota/quota_client.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/webkit/quota/quota_client.h b/webkit/quota/quota_client.h
index 3e46159..d9499eb 100644
--- a/webkit/quota/quota_client.h
+++ b/webkit/quota/quota_client.h
@@ -5,8 +5,9 @@
#ifndef WEBKIT_QUOTA_QUOTA_CLIENT_H_
#define WEBKIT_QUOTA_QUOTA_CLIENT_H_
-#include <set>
#include <list>
+#include <set>
+#include <string>
#include "base/callback_old.h"
#include "base/time.h"
@@ -23,6 +24,7 @@ class QuotaClient {
public:
typedef Callback1<int64>::Type GetUsageCallback;
typedef Callback1<const std::set<GURL>&>::Type GetOriginsCallback;
+ typedef Callback1<QuotaStatusCode>::Type DeletionCallback;
virtual ~QuotaClient() {}
@@ -57,6 +59,11 @@ class QuotaClient {
virtual void GetOriginsForHost(StorageType type,
const std::string& host,
GetOriginsCallback* callback) = 0;
+
+ // Called by the QuotaManager.
+ virtual void DeleteOriginData(const GURL& origin,
+ StorageType type,
+ DeletionCallback* callback) = 0;
};
typedef std::list<QuotaClient*> QuotaClientList;