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

Side by Side 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: rebase Created 9 years, 2 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 | Annotate | Revision Log
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_FILEAPI_FILE_SYSTEM_OPERATION_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } 105 }
106 106
107 friend class FileSystemOperationTest; 107 friend class FileSystemOperationTest;
108 friend class FileSystemOperationWriteTest; 108 friend class FileSystemOperationWriteTest;
109 friend class FileWriterDelegateTest; 109 friend class FileWriterDelegateTest;
110 friend class FileSystemTestOriginHelper; 110 friend class FileSystemTestOriginHelper;
111 friend class FileSystemQuotaTest; 111 friend class FileSystemQuotaTest;
112 112
113 void GetUsageAndQuotaThenCallback( 113 void GetUsageAndQuotaThenCallback(
114 const GURL& origin_url, 114 const GURL& origin_url,
115 quota::QuotaManager::GetUsageAndQuotaCallback* callback); 115 const quota::QuotaManager::GetUsageAndQuotaCallback& callback);
116 116
117 void DelayedCreateFileForQuota(quota::QuotaStatusCode status, 117 void DelayedCreateFileForQuota(quota::QuotaStatusCode status,
118 int64 usage, int64 quota); 118 int64 usage, int64 quota);
119 void DelayedCreateDirectoryForQuota(quota::QuotaStatusCode status, 119 void DelayedCreateDirectoryForQuota(quota::QuotaStatusCode status,
120 int64 usage, int64 quota); 120 int64 usage, int64 quota);
121 void DelayedCopyForQuota(quota::QuotaStatusCode status, 121 void DelayedCopyForQuota(quota::QuotaStatusCode status,
122 int64 usage, int64 quota); 122 int64 usage, int64 quota);
123 void DelayedMoveForQuota(quota::QuotaStatusCode status, 123 void DelayedMoveForQuota(quota::QuotaStatusCode status,
124 int64 usage, int64 quota); 124 int64 usage, int64 quota);
125 void DelayedWriteForQuota(quota::QuotaStatusCode status, 125 void DelayedWriteForQuota(quota::QuotaStatusCode status,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // Length to be truncated. 272 // Length to be truncated.
273 int64 length_; 273 int64 length_;
274 274
275 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation); 275 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation);
276 }; 276 };
277 277
278 } // namespace fileapi 278 } // namespace fileapi
279 279
280 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ 280 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_
OLDNEW
« no previous file with comments | « webkit/database/database_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698