| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
| 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
| 7 | 7 |
| 8 #include "webkit/fileapi/file_system_operation.h" | 8 #include "webkit/fileapi/file_system_operation.h" |
| 9 #include "webkit/fileapi/file_writer_delegate.h" | 9 #include "webkit/fileapi/file_writer_delegate.h" |
| 10 #include "webkit/fileapi/remote_file_system_proxy.h" | 10 #include "webkit/fileapi/remote_file_system_proxy.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 base::PlatformFileError rv, | 92 base::PlatformFileError rv, |
| 93 const base::PlatformFileInfo& file_info, | 93 const base::PlatformFileInfo& file_info, |
| 94 const base::FilePath& unused); | 94 const base::FilePath& unused); |
| 95 void DidGetMetadata(const GetMetadataCallback& callback, | 95 void DidGetMetadata(const GetMetadataCallback& callback, |
| 96 base::PlatformFileError rv, | 96 base::PlatformFileError rv, |
| 97 const base::PlatformFileInfo& file_info, | 97 const base::PlatformFileInfo& file_info, |
| 98 const base::FilePath& platform_path); | 98 const base::FilePath& platform_path); |
| 99 void DidReadDirectory( | 99 void DidReadDirectory( |
| 100 const ReadDirectoryCallback& callback, | 100 const ReadDirectoryCallback& callback, |
| 101 base::PlatformFileError rv, | 101 base::PlatformFileError rv, |
| 102 const std::vector<base::FileUtilProxy::Entry>& entries, | 102 const std::vector<FileSystemOperation::Entry>& entries, |
| 103 bool has_more); | 103 bool has_more); |
| 104 void DidWrite(base::PlatformFileError result, | 104 void DidWrite(base::PlatformFileError result, |
| 105 int64 bytes, | 105 int64 bytes, |
| 106 FileWriterDelegate::WriteProgressStatus write_status); | 106 FileWriterDelegate::WriteProgressStatus write_status); |
| 107 void DidFinishFileOperation(const StatusCallback& callback, | 107 void DidFinishFileOperation(const StatusCallback& callback, |
| 108 base::PlatformFileError rv); | 108 base::PlatformFileError rv); |
| 109 void DidCreateSnapshotFile( | 109 void DidCreateSnapshotFile( |
| 110 const SnapshotFileCallback& callback, | 110 const SnapshotFileCallback& callback, |
| 111 base::PlatformFileError result, | 111 base::PlatformFileError result, |
| 112 const base::PlatformFileInfo& file_info, | 112 const base::PlatformFileInfo& file_info, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 127 | 127 |
| 128 WriteCallback write_callback_; | 128 WriteCallback write_callback_; |
| 129 StatusCallback cancel_callback_; | 129 StatusCallback cancel_callback_; |
| 130 | 130 |
| 131 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); | 131 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace chromeos | 134 } // namespace chromeos |
| 135 | 135 |
| 136 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 136 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
| OLD | NEW |