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

Side by Side Diff: webkit/database/database_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 unified diff | Download patch
« no previous file with comments | « no previous file | webkit/database/database_quota_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_ 5 #ifndef WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_
6 #define WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_ 6 #define WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 virtual ID id() const OVERRIDE; 33 virtual ID id() const OVERRIDE;
34 virtual void OnQuotaManagerDestroyed(); 34 virtual void OnQuotaManagerDestroyed();
35 virtual void GetOriginUsage(const GURL& origin_url, 35 virtual void GetOriginUsage(const GURL& origin_url,
36 quota::StorageType type, 36 quota::StorageType type,
37 GetUsageCallback* callback) OVERRIDE; 37 GetUsageCallback* callback) OVERRIDE;
38 virtual void GetOriginsForType(quota::StorageType type, 38 virtual void GetOriginsForType(quota::StorageType type,
39 GetOriginsCallback* callback) OVERRIDE; 39 GetOriginsCallback* callback) OVERRIDE;
40 virtual void GetOriginsForHost(quota::StorageType type, 40 virtual void GetOriginsForHost(quota::StorageType type,
41 const std::string& host, 41 const std::string& host,
42 GetOriginsCallback* callback) OVERRIDE; 42 GetOriginsCallback* callback) OVERRIDE;
43 virtual void DeleteOriginData(const GURL& origin,
44 quota::StorageType type,
45 DeletionCallback* callback) OVERRIDE;
43 private: 46 private:
44 class HelperTask; 47 class HelperTask;
45 class GetOriginUsageTask; 48 class GetOriginUsageTask;
46 class GetOriginsTaskBase; 49 class GetOriginsTaskBase;
47 class GetAllOriginsTask; 50 class GetAllOriginsTask;
48 class GetOriginsForHostTask; 51 class GetOriginsForHostTask;
49 52
50 typedef quota::CallbackQueueMap1 53 typedef quota::CallbackQueueMap1
51 <GetUsageCallback*, 54 <GetUsageCallback*,
52 GURL, // origin 55 GURL, // origin
(...skipping 19 matching lines...) Expand all
72 UsageForOriginCallbackMap usage_for_origin_callbacks_; 75 UsageForOriginCallbackMap usage_for_origin_callbacks_;
73 OriginsForTypeCallbackQueue origins_for_type_callbacks_; 76 OriginsForTypeCallbackQueue origins_for_type_callbacks_;
74 OriginsForHostCallbackMap origins_for_host_callbacks_; 77 OriginsForHostCallbackMap origins_for_host_callbacks_;
75 78
76 DISALLOW_COPY_AND_ASSIGN(DatabaseQuotaClient); 79 DISALLOW_COPY_AND_ASSIGN(DatabaseQuotaClient);
77 }; 80 };
78 81
79 } // namespace webkit_database 82 } // namespace webkit_database
80 83
81 #endif // WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_ 84 #endif // WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/database/database_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698