| Index: webkit/quota/quota_client.h
|
| diff --git a/webkit/quota/quota_client.h b/webkit/quota/quota_client.h
|
| index 3e46159de63eb105ee27a7e2a682465b5d185abb..ec0b810a4d1581e37e2278142970eb9a36b1f5c7 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 Callback1<QuotaStatusCode>::Type DeletionCallback;
|
|
|
| virtual ~QuotaClient() {}
|
|
|
| @@ -57,6 +58,11 @@ class QuotaClient {
|
| virtual void GetOriginsForHost(StorageType type,
|
| const std::string& host,
|
| GetOriginsCallback* callback) = 0;
|
| +
|
| + // Called by the QuotaManager.
|
| + virtual void DeleteOriginData(const GURL& origin,
|
| + StorageType type,
|
| + DeletionCallback* callback) = 0;
|
| };
|
|
|
| typedef std::list<QuotaClient*> QuotaClientList;
|
|
|