summaryrefslogtreecommitdiffstats
path: root/webkit/database
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/database')
-rw-r--r--webkit/database/database_quota_client.cc10
-rw-r--r--webkit/database/database_quota_client.h3
2 files changed, 13 insertions, 0 deletions
diff --git a/webkit/database/database_quota_client.cc b/webkit/database/database_quota_client.cc
index 4f3da01..4e26e37 100644
--- a/webkit/database/database_quota_client.cc
+++ b/webkit/database/database_quota_client.cc
@@ -4,6 +4,8 @@
#include "webkit/database/database_quota_client.h"
+#include <vector>
+
#include "base/message_loop_proxy.h"
#include "net/base/net_util.h"
#include "webkit/database/database_tracker.h"
@@ -198,6 +200,14 @@ void DatabaseQuotaClient::GetOriginsForHost(
}
}
+void DatabaseQuotaClient::DeleteOriginData(const GURL& origin,
+ quota::StorageType type,
+ DeletionCallback* callback) {
+ // TODO(tzik): implement me
+ callback->Run(quota::kQuotaErrorNotSupported);
+ delete callback;
+}
+
void DatabaseQuotaClient::DidGetOriginUsage(
const GURL& origin_url, int64 usage) {
DCHECK(usage_for_origin_callbacks_.HasCallbacks(origin_url));
diff --git a/webkit/database/database_quota_client.h b/webkit/database/database_quota_client.h
index 5733e57..b965a97 100644
--- a/webkit/database/database_quota_client.h
+++ b/webkit/database/database_quota_client.h
@@ -40,6 +40,9 @@ class DatabaseQuotaClient : public quota::QuotaClient,
virtual void GetOriginsForHost(quota::StorageType type,
const std::string& host,
GetOriginsCallback* callback) OVERRIDE;
+ virtual void DeleteOriginData(const GURL& origin,
+ quota::StorageType type,
+ DeletionCallback* callback) OVERRIDE;
private:
class HelperTask;
class GetOriginUsageTask;