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

Unified Diff: webkit/fileapi/file_system_operation.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_operation.h
diff --git a/webkit/fileapi/file_system_operation.h b/webkit/fileapi/file_system_operation.h
index b38633a99fe4fe7b8bb8549f6c4510692253fa05..c856fe987b290d7bfc10bd57bc472712f07f955a 100644
--- a/webkit/fileapi/file_system_operation.h
+++ b/webkit/fileapi/file_system_operation.h
@@ -111,7 +111,7 @@ class FileSystemOperation {
void GetUsageAndQuotaThenCallback(
const GURL& origin_url,
- quota::QuotaManager::GetUsageAndQuotaCallback* callback);
+ quota::QuotaManager::GetUsageAndQuotaCallback callback);
awong 2011/09/29 18:05:15 const &
tzik 2011/10/11 04:53:57 Done.
void DelayedCreateFileForQuota(quota::QuotaStatusCode status,
int64 usage, int64 quota);
@@ -240,6 +240,7 @@ class FileSystemOperation {
FileSystemOperationContext file_system_operation_context_;
+ base::WeakPtrFactory<FileSystemOperation> weak_factory_;
base::ScopedCallbackFactory<FileSystemOperation> callback_factory_;
scoped_ptr<ScopedQuotaUtilHelper> quota_util_helper_;

Powered by Google App Engine
This is Rietveld 408576698