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

Unified Diff: webkit/quota/quota_client.h

Issue 7003021: Added DeleteOriginData to QuotaClient (Closed)
Patch Set: Added callback 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/quota_client.h
diff --git a/webkit/quota/quota_client.h b/webkit/quota/quota_client.h
index 3e46159de63eb105ee27a7e2a682465b5d185abb..d9e00af891285c58ac73b9ec3a9a688b08d57e89 100644
--- a/webkit/quota/quota_client.h
+++ b/webkit/quota/quota_client.h
@@ -23,6 +23,7 @@ class QuotaClient {
public:
typedef Callback1<int64>::Type GetUsageCallback;
typedef Callback1<const std::set<GURL>&>::Type GetOriginsCallback;
+ typedef Callback0::Type DeletionCallback;
virtual ~QuotaClient() {}
@@ -57,6 +58,10 @@ class QuotaClient {
virtual void GetOriginsForHost(StorageType type,
const std::string& host,
GetOriginsCallback* callback) = 0;
+
+ virtual void DeleteOriginData(const GURL& origin,
+ StorageType type,
+ DeletionCallback* callback) = 0;
};
typedef std::list<QuotaClient*> QuotaClientList;
« webkit/fileapi/sandbox_quota_client.cc ('K') | « webkit/fileapi/sandbox_quota_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698