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

Unified Diff: webkit/fileapi/file_system_quota_client.h

Issue 8070001: Use base::Callback in Quota related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: choke lint Created 9 years, 3 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/file_system_quota_client.h
diff --git a/webkit/fileapi/file_system_quota_client.h b/webkit/fileapi/file_system_quota_client.h
index 40456286600d5c8a0b493d539a68c1995405e468..de3cf692d5c4cb409fdb669243ad968c31fbfe21 100644
--- a/webkit/fileapi/file_system_quota_client.h
+++ b/webkit/fileapi/file_system_quota_client.h
@@ -43,15 +43,15 @@ class FileSystemQuotaClient : public quota::QuotaClient,
virtual void OnQuotaManagerDestroyed() OVERRIDE;
virtual void GetOriginUsage(const GURL& origin_url,
quota::StorageType type,
- GetUsageCallback* callback) OVERRIDE;
+ GetUsageCallback callback) OVERRIDE;
awong 2011/09/29 18:05:15 const &.
tzik 2011/10/11 04:53:57 Done.
virtual void GetOriginsForType(quota::StorageType type,
- GetOriginsCallback* callback) OVERRIDE;
+ GetOriginsCallback callback) OVERRIDE;
awong 2011/09/29 18:05:15 const &.
tzik 2011/10/11 04:53:57 Done.
virtual void GetOriginsForHost(quota::StorageType type,
const std::string& host,
- GetOriginsCallback* callback) OVERRIDE;
+ GetOriginsCallback callback) OVERRIDE;
awong 2011/09/29 18:05:15 const &.
tzik 2011/10/11 04:53:57 Done.
virtual void DeleteOriginData(const GURL& origin,
quota::StorageType type,
- DeletionCallback* callback) OVERRIDE;
+ DeletionCallback callback) OVERRIDE;
private:
class GetOriginUsageTask;
@@ -61,16 +61,16 @@ class FileSystemQuotaClient : public quota::QuotaClient,
class DeleteOriginTask;
typedef std::pair<fileapi::FileSystemType, std::string> TypeAndHostOrOrigin;
- typedef quota::CallbackQueueMap1<GetUsageCallback*,
+ typedef quota::CallbackQueueMap1<GetUsageCallback,
TypeAndHostOrOrigin,
int64
> UsageCallbackMap;
- typedef quota::CallbackQueueMap2<GetOriginsCallback*,
+ typedef quota::CallbackQueueMap2<GetOriginsCallback,
fileapi::FileSystemType,
const std::set<GURL>&,
quota::StorageType
> OriginsForTypeCallbackMap;
- typedef quota::CallbackQueueMap2<GetOriginsCallback*,
+ typedef quota::CallbackQueueMap2<GetOriginsCallback,
TypeAndHostOrOrigin,
const std::set<GURL>&,
quota::StorageType

Powered by Google App Engine
This is Rietveld 408576698