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

Unified Diff: webkit/fileapi/sandbox_quota_client.h

Issue 7003021: Added DeleteOriginData to QuotaClient (Closed)
Patch Set: '' 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
« no previous file with comments | « webkit/fileapi/file_system_context.cc ('k') | webkit/fileapi/sandbox_quota_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..db39e081cb6aa482e1a8068f9edddd5f65c5b699 100644
--- a/webkit/fileapi/sandbox_quota_client.h
+++ b/webkit/fileapi/sandbox_quota_client.h
@@ -8,6 +8,7 @@
#include <deque>
#include <list>
#include <map>
+#include <set>
#include <string>
#include "base/basictypes.h"
@@ -45,12 +46,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*,
« no previous file with comments | « webkit/fileapi/file_system_context.cc ('k') | webkit/fileapi/sandbox_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698