| Index: webkit/fileapi/file_system_operation.cc
|
| diff --git a/webkit/fileapi/file_system_operation.cc b/webkit/fileapi/file_system_operation.cc
|
| index 718928717cb6b0d6de20b6f436778c867a887033..c0b922bf939cbd054dcc4135efc9657f1919e4c4 100644
|
| --- a/webkit/fileapi/file_system_operation.cc
|
| +++ b/webkit/fileapi/file_system_operation.cc
|
| @@ -57,19 +57,6 @@ FileSystemOperation::ScopedQuotaUtilHelper::~ScopedQuotaUtilHelper() {
|
| }
|
| }
|
|
|
| -FileSystemOperation::FileSystemOperation(
|
| - scoped_ptr<FileSystemCallbackDispatcher> dispatcher,
|
| - scoped_refptr<base::MessageLoopProxy> proxy,
|
| - FileSystemContext* file_system_context)
|
| - : proxy_(proxy),
|
| - dispatcher_(dispatcher.Pass()),
|
| - operation_context_(file_system_context, NULL),
|
| - peer_handle_(base::kNullProcessHandle) {
|
| -#ifndef NDEBUG
|
| - pending_operation_ = kOperationNone;
|
| -#endif
|
| -}
|
| -
|
| FileSystemOperation::~FileSystemOperation() {
|
| if (file_writer_delegate_.get()) {
|
| FileSystemOperationContext* c =
|
| @@ -521,6 +508,10 @@ void FileSystemOperation::Cancel(
|
| }
|
| }
|
|
|
| +FileSystemOperation* FileSystemOperation::AsFileSystemOperation() {
|
| + return this;
|
| +}
|
| +
|
| void FileSystemOperation::SyncGetPlatformPath(const GURL& path,
|
| FilePath* platform_path) {
|
| #ifndef NDEBUG
|
| @@ -538,6 +529,19 @@ void FileSystemOperation::SyncGetPlatformPath(const GURL& path,
|
| delete this;
|
| }
|
|
|
| +FileSystemOperation::FileSystemOperation(
|
| + scoped_ptr<FileSystemCallbackDispatcher> dispatcher,
|
| + scoped_refptr<base::MessageLoopProxy> proxy,
|
| + FileSystemContext* file_system_context)
|
| + : proxy_(proxy),
|
| + dispatcher_(dispatcher.Pass()),
|
| + operation_context_(file_system_context, NULL),
|
| + peer_handle_(base::kNullProcessHandle) {
|
| +#ifndef NDEBUG
|
| + pending_operation_ = kOperationNone;
|
| +#endif
|
| +}
|
| +
|
| void FileSystemOperation::GetUsageAndQuotaThenCallback(
|
| const GURL& origin_url,
|
| const quota::QuotaManager::GetUsageAndQuotaCallback& callback) {
|
|
|