| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 const base::PlatformFileInfo& file_info, | 89 const base::PlatformFileInfo& file_info, |
| 90 const base::FilePath& unused); | 90 const base::FilePath& unused); |
| 91 void DidFileExists(const StatusCallback& callback, | 91 void DidFileExists(const StatusCallback& callback, |
| 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(const ReadDirectoryCallback& callback, |
| 100 const ReadDirectoryCallback& callback, | 100 base::PlatformFileError rv, |
| 101 base::PlatformFileError rv, | 101 const std::vector<fileapi::DirectoryEntry>& entries, |
| 102 const std::vector<base::FileUtilProxy::Entry>& entries, | 102 bool has_more); |
| 103 bool has_more); | |
| 104 void DidWrite(base::PlatformFileError result, | 103 void DidWrite(base::PlatformFileError result, |
| 105 int64 bytes, | 104 int64 bytes, |
| 106 FileWriterDelegate::WriteProgressStatus write_status); | 105 FileWriterDelegate::WriteProgressStatus write_status); |
| 107 void DidFinishFileOperation(const StatusCallback& callback, | 106 void DidFinishFileOperation(const StatusCallback& callback, |
| 108 base::PlatformFileError rv); | 107 base::PlatformFileError rv); |
| 109 void DidCreateSnapshotFile( | 108 void DidCreateSnapshotFile( |
| 110 const SnapshotFileCallback& callback, | 109 const SnapshotFileCallback& callback, |
| 111 base::PlatformFileError result, | 110 base::PlatformFileError result, |
| 112 const base::PlatformFileInfo& file_info, | 111 const base::PlatformFileInfo& file_info, |
| 113 const base::FilePath& platform_path, | 112 const base::FilePath& platform_path, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 127 | 126 |
| 128 WriteCallback write_callback_; | 127 WriteCallback write_callback_; |
| 129 StatusCallback cancel_callback_; | 128 StatusCallback cancel_callback_; |
| 130 | 129 |
| 131 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); | 130 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); |
| 132 }; | 131 }; |
| 133 | 132 |
| 134 } // namespace chromeos | 133 } // namespace chromeos |
| 135 | 134 |
| 136 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 135 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
| OLD | NEW |