| 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 const bool continue_with_error, |
| 46 const CopyOrMoveErrorCallback& error_callback, |
| 45 const CopyProgressCallback& progress_callback, | 47 const CopyProgressCallback& progress_callback, |
| 46 const StatusCallback& callback) override; | 48 const StatusCallback& callback) override; |
| 47 void Move(const storage::FileSystemURL& src_url, | 49 void Move(const storage::FileSystemURL& src_url, |
| 48 const storage::FileSystemURL& dest_url, | 50 const storage::FileSystemURL& dest_url, |
| 49 CopyOrMoveOption option, | 51 CopyOrMoveOption option, |
| 50 const StatusCallback& callback) override; | 52 const StatusCallback& callback) override; |
| 51 void DirectoryExists(const storage::FileSystemURL& url, | 53 void DirectoryExists(const storage::FileSystemURL& url, |
| 52 const StatusCallback& callback) override; | 54 const StatusCallback& callback) override; |
| 53 void FileExists(const storage::FileSystemURL& url, | 55 void FileExists(const storage::FileSystemURL& url, |
| 54 const StatusCallback& callback) override; | 56 const StatusCallback& callback) override; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 StatusCallback completion_callback_; | 126 StatusCallback completion_callback_; |
| 125 | 127 |
| 126 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; | 128 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; |
| 127 | 129 |
| 128 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); | 130 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); |
| 129 }; | 131 }; |
| 130 | 132 |
| 131 } // namespace sync_file_system | 133 } // namespace sync_file_system |
| 132 | 134 |
| 133 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_
H_ | 135 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_
H_ |
| OLD | NEW |