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 WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 const std::vector<DirectoryEntry>& entries, | 264 const std::vector<DirectoryEntry>& entries, |
265 bool has_more); | 265 bool has_more); |
266 void DidWrite(const OperationHandle& handle, | 266 void DidWrite(const OperationHandle& handle, |
267 const WriteCallback& callback, | 267 const WriteCallback& callback, |
268 base::File::Error rv, | 268 base::File::Error rv, |
269 int64 bytes, | 269 int64 bytes, |
270 bool complete); | 270 bool complete); |
271 void DidOpenFile( | 271 void DidOpenFile( |
272 const OperationHandle& handle, | 272 const OperationHandle& handle, |
273 const OpenFileCallback& callback, | 273 const OpenFileCallback& callback, |
274 base::File::Error rv, | 274 base::File file, |
275 base::PlatformFile file, | |
276 const base::Closure& on_close_callback); | 275 const base::Closure& on_close_callback); |
277 void DidCreateSnapshot( | 276 void DidCreateSnapshot( |
278 const OperationHandle& handle, | 277 const OperationHandle& handle, |
279 const SnapshotFileCallback& callback, | 278 const SnapshotFileCallback& callback, |
280 base::File::Error rv, | 279 base::File::Error rv, |
281 const base::File::Info& file_info, | 280 const base::File::Info& file_info, |
282 const base::FilePath& platform_path, | 281 const base::FilePath& platform_path, |
283 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); | 282 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); |
284 | 283 |
285 void OnCopyProgress( | 284 void OnCopyProgress( |
(...skipping 28 matching lines...) Expand all Loading... |
314 | 313 |
315 // Callbacks for stray cancels whose target operation is already finished. | 314 // Callbacks for stray cancels whose target operation is already finished. |
316 std::map<OperationID, StatusCallback> stray_cancel_callbacks_; | 315 std::map<OperationID, StatusCallback> stray_cancel_callbacks_; |
317 | 316 |
318 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationRunner); | 317 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationRunner); |
319 }; | 318 }; |
320 | 319 |
321 } // namespace fileapi | 320 } // namespace fileapi |
322 | 321 |
323 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ | 322 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ |
OLD | NEW |