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 CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 void CreateFile(const storage::FileSystemURL& url, | 35 void CreateFile(const storage::FileSystemURL& url, |
36 bool exclusive, | 36 bool exclusive, |
37 const StatusCallback& callback) override; | 37 const StatusCallback& callback) override; |
38 void CreateDirectory(const storage::FileSystemURL& url, | 38 void CreateDirectory(const storage::FileSystemURL& url, |
39 bool exclusive, | 39 bool exclusive, |
40 bool recursive, | 40 bool recursive, |
41 const StatusCallback& callback) override; | 41 const StatusCallback& callback) override; |
42 void Copy(const storage::FileSystemURL& src_url, | 42 void Copy(const storage::FileSystemURL& src_url, |
43 const storage::FileSystemURL& dest_url, | 43 const storage::FileSystemURL& dest_url, |
44 CopyOrMoveOption option, | 44 CopyOrMoveOption option, |
| 45 ErrorBehavior error_behavior, |
45 const CopyProgressCallback& progress_callback, | 46 const CopyProgressCallback& progress_callback, |
46 const StatusCallback& callback) override; | 47 const StatusCallback& callback) override; |
47 void Move(const storage::FileSystemURL& src_url, | 48 void Move(const storage::FileSystemURL& src_url, |
48 const storage::FileSystemURL& dest_url, | 49 const storage::FileSystemURL& dest_url, |
49 CopyOrMoveOption option, | 50 CopyOrMoveOption option, |
50 const StatusCallback& callback) override; | 51 const StatusCallback& callback) override; |
51 void DirectoryExists(const storage::FileSystemURL& url, | 52 void DirectoryExists(const storage::FileSystemURL& url, |
52 const StatusCallback& callback) override; | 53 const StatusCallback& callback) override; |
53 void FileExists(const storage::FileSystemURL& url, | 54 void FileExists(const storage::FileSystemURL& url, |
54 const StatusCallback& callback) override; | 55 const StatusCallback& callback) override; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 StatusCallback completion_callback_; | 125 StatusCallback completion_callback_; |
125 | 126 |
126 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; | 127 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; |
127 | 128 |
128 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); | 129 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); |
129 }; | 130 }; |
130 | 131 |
131 } // namespace sync_file_system | 132 } // namespace sync_file_system |
132 | 133 |
133 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_
H_ | 134 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_
H_ |
OLD | NEW |