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 ErrorBehavior error_behavior, |
44 const CopyProgressCallback& progress_callback, | 45 const CopyProgressCallback& progress_callback, |
45 const StatusCallback& callback) override; | 46 const StatusCallback& callback) override; |
46 void Move(const FileSystemURL& src_url, | 47 void Move(const FileSystemURL& src_url, |
47 const FileSystemURL& dest_url, | 48 const FileSystemURL& dest_url, |
48 CopyOrMoveOption option, | 49 CopyOrMoveOption option, |
49 const StatusCallback& callback) override; | 50 const StatusCallback& callback) override; |
50 void DirectoryExists(const FileSystemURL& url, | 51 void DirectoryExists(const FileSystemURL& url, |
51 const StatusCallback& callback) override; | 52 const StatusCallback& callback) override; |
52 void FileExists(const FileSystemURL& url, | 53 void FileExists(const FileSystemURL& url, |
53 const StatusCallback& callback) override; | 54 const StatusCallback& callback) override; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 OperationType pending_operation_; | 195 OperationType pending_operation_; |
195 | 196 |
196 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; | 197 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; |
197 | 198 |
198 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); | 199 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); |
199 }; | 200 }; |
200 | 201 |
201 } // namespace storage | 202 } // namespace storage |
202 | 203 |
203 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 204 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
OLD | NEW |