Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: webkit/quota/mock_storage_client.h

Issue 7003021: Added DeleteOriginData to QuotaClient (Closed)
Patch Set: Apply patch from issue 7013018 Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/quota/mock_storage_client.h
diff --git a/webkit/quota/mock_storage_client.h b/webkit/quota/mock_storage_client.h
index e1ad61e88eb0088d0f95e1690dea30c2bc6e47c2..2ec5a5e58752b19166db317c24affd84d3512938 100644
--- a/webkit/quota/mock_storage_client.h
+++ b/webkit/quota/mock_storage_client.h
@@ -37,6 +37,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,
@@ -47,6 +50,7 @@ class MockStorageClient : public QuotaClient {
void RunGetOriginsForHost(StorageType type,
const std::string& host,
GetOriginsCallback* callback);
+ void RunDeleteOriginData(DeletionCallback* callback);
scoped_refptr<QuotaManagerProxy> quota_manager_proxy_;
const ID id_;
@@ -56,6 +60,7 @@ class MockStorageClient : public QuotaClient {
std::set<GetUsageCallback*> usage_callbacks_;
std::set<GetOriginsCallback*> origins_callbacks_;
+ std::set<DeletionCallback*> deletion_callbacks_;
ScopedRunnableMethodFactory<MockStorageClient> runnable_factory_;

Powered by Google App Engine
This is Rietveld 408576698