Index: webkit/quota/mock_storage_client.h |
diff --git a/webkit/quota/mock_storage_client.h b/webkit/quota/mock_storage_client.h |
index cf0299a4b6b61645abd8cf48bf219a600dbfc84c..6d8def2d7236ca74ce016e79a439b4332b0dee7d 100644 |
--- a/webkit/quota/mock_storage_client.h |
+++ b/webkit/quota/mock_storage_client.h |
@@ -39,6 +39,9 @@ class MockStorageClient : public QuotaClient { |
GetOriginsCallback* callback) OVERRIDE; |
virtual void GetOriginsForHost(StorageType type, const std::string& host, |
GetOriginsCallback* callback) OVERRIDE; |
+ virtual void DeleteOriginData(const GURL& origin, |
+ StorageType type, |
+ DeletionCallback* callback) OVERRIDE; |
private: |
void RunGetOriginUsage(const GURL& origin_url, |
@@ -49,6 +52,9 @@ class MockStorageClient : public QuotaClient { |
void RunGetOriginsForHost(StorageType type, |
const std::string& host, |
GetOriginsCallback* callback); |
+ void RunDeleteOriginData(const GURL& origin_url, |
+ StorageType type, |
+ DeletionCallback* callback); |
scoped_refptr<QuotaManagerProxy> quota_manager_proxy_; |
const ID id_; |
@@ -58,6 +64,7 @@ class MockStorageClient : public QuotaClient { |
std::set<GetUsageCallback*> usage_callbacks_; |
std::set<GetOriginsCallback*> origins_callbacks_; |
+ std::set<DeletionCallback*> deletion_callbacks_; |
ScopedRunnableMethodFactory<MockStorageClient> runnable_factory_; |