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

Unified Diff: webkit/fileapi/sandbox_quota_client.h

Issue 7003021: Added DeleteOriginData to QuotaClient (Closed)
Patch Set: Add tests 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/fileapi/sandbox_quota_client.h
diff --git a/webkit/fileapi/sandbox_quota_client.h b/webkit/fileapi/sandbox_quota_client.h
index 7aae5fbab7030513d988cdefc8b4a06041ac7039..1b5fa4bc78860e6e0ecce9fdd35614ea19232a13 100644
--- a/webkit/fileapi/sandbox_quota_client.h
+++ b/webkit/fileapi/sandbox_quota_client.h
@@ -45,12 +45,16 @@ class SandboxQuotaClient : 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 GetOriginUsageTask;
class GetOriginsTaskBase;
class GetOriginsForTypeTask;
class GetOriginsForHostTask;
+ class DeleteOriginTask;
typedef std::pair<fileapi::FileSystemType, std::string> TypeAndHostOrOrigin;
typedef quota::CallbackQueueMap1<GetUsageCallback*,

Powered by Google App Engine
This is Rietveld 408576698