| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
| 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 void CreateFile(const FileSystemURL& url, | 34 void CreateFile(const FileSystemURL& url, |
| 35 bool exclusive, | 35 bool exclusive, |
| 36 const StatusCallback& callback) override; | 36 const StatusCallback& callback) override; |
| 37 void CreateDirectory(const FileSystemURL& url, | 37 void CreateDirectory(const FileSystemURL& url, |
| 38 bool exclusive, | 38 bool exclusive, |
| 39 bool recursive, | 39 bool recursive, |
| 40 const StatusCallback& callback) override; | 40 const StatusCallback& callback) override; |
| 41 void Copy(const FileSystemURL& src_url, | 41 void Copy(const FileSystemURL& src_url, |
| 42 const FileSystemURL& dest_url, | 42 const FileSystemURL& dest_url, |
| 43 CopyOrMoveOption option, | 43 CopyOrMoveOption option, |
| 44 const bool continue_with_error, |
| 45 const CopyOrMoveErrorCallback& error_callback, |
| 44 const CopyProgressCallback& progress_callback, | 46 const CopyProgressCallback& progress_callback, |
| 45 const StatusCallback& callback) override; | 47 const StatusCallback& callback) override; |
| 46 void Move(const FileSystemURL& src_url, | 48 void Move(const FileSystemURL& src_url, |
| 47 const FileSystemURL& dest_url, | 49 const FileSystemURL& dest_url, |
| 48 CopyOrMoveOption option, | 50 CopyOrMoveOption option, |
| 49 const StatusCallback& callback) override; | 51 const StatusCallback& callback) override; |
| 50 void DirectoryExists(const FileSystemURL& url, | 52 void DirectoryExists(const FileSystemURL& url, |
| 51 const StatusCallback& callback) override; | 53 const StatusCallback& callback) override; |
| 52 void FileExists(const FileSystemURL& url, | 54 void FileExists(const FileSystemURL& url, |
| 53 const StatusCallback& callback) override; | 55 const StatusCallback& callback) override; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 OperationType pending_operation_; | 196 OperationType pending_operation_; |
| 195 | 197 |
| 196 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; | 198 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; |
| 197 | 199 |
| 198 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); | 200 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); |
| 199 }; | 201 }; |
| 200 | 202 |
| 201 } // namespace storage | 203 } // namespace storage |
| 202 | 204 |
| 203 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 205 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
| OLD | NEW |