| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
| 6 #define STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 6 #define STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 FileSystemURL src_root_; | 150 FileSystemURL src_root_; |
| 151 FileSystemURL dest_root_; | 151 FileSystemURL dest_root_; |
| 152 bool same_file_system_; | 152 bool same_file_system_; |
| 153 OperationType operation_type_; | 153 OperationType operation_type_; |
| 154 CopyOrMoveOption option_; | 154 CopyOrMoveOption option_; |
| 155 ErrorBehavior error_behavior_; | 155 ErrorBehavior error_behavior_; |
| 156 CopyProgressCallback progress_callback_; | 156 CopyProgressCallback progress_callback_; |
| 157 StatusCallback callback_; | 157 StatusCallback callback_; |
| 158 | 158 |
| 159 std::set<CopyOrMoveImpl*> running_copy_set_; | 159 std::set<std::unique_ptr<CopyOrMoveImpl>> running_copy_set_; |
| 160 base::WeakPtrFactory<CopyOrMoveOperationDelegate> weak_factory_; | 160 base::WeakPtrFactory<CopyOrMoveOperationDelegate> weak_factory_; |
| 161 | 161 |
| 162 DISALLOW_COPY_AND_ASSIGN(CopyOrMoveOperationDelegate); | 162 DISALLOW_COPY_AND_ASSIGN(CopyOrMoveOperationDelegate); |
| 163 }; | 163 }; |
| 164 | 164 |
| 165 } // namespace storage | 165 } // namespace storage |
| 166 | 166 |
| 167 #endif // STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 167 #endif // STORAGE_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
| OLD | NEW |