| 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_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ | 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ |
| 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ | 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 const base::PlatformFileInfo& file_info, | 207 const base::PlatformFileInfo& file_info, |
| 208 const FilePath& unused); | 208 const FilePath& unused); |
| 209 void DidGetMetadata(const GetMetadataCallback& callback, | 209 void DidGetMetadata(const GetMetadataCallback& callback, |
| 210 base::PlatformFileError rv, | 210 base::PlatformFileError rv, |
| 211 const base::PlatformFileInfo& file_info, | 211 const base::PlatformFileInfo& file_info, |
| 212 const FilePath& platform_path); | 212 const FilePath& platform_path); |
| 213 void DidReadDirectory(const ReadDirectoryCallback& callback, | 213 void DidReadDirectory(const ReadDirectoryCallback& callback, |
| 214 base::PlatformFileError rv, | 214 base::PlatformFileError rv, |
| 215 const std::vector<base::FileUtilProxy::Entry>& entries, | 215 const std::vector<base::FileUtilProxy::Entry>& entries, |
| 216 bool has_more); | 216 bool has_more); |
| 217 void DidWrite(base::PlatformFileError rv, | 217 void DidWrite(const FileSystemURL& url, |
| 218 base::PlatformFileError rv, |
| 218 int64 bytes, | 219 int64 bytes, |
| 219 bool complete); | 220 bool complete); |
| 220 void DidTouchFile(const StatusCallback& callback, | 221 void DidTouchFile(const StatusCallback& callback, |
| 221 base::PlatformFileError rv); | 222 base::PlatformFileError rv); |
| 222 void DidOpenFile(const OpenFileCallback& callback, | 223 void DidOpenFile(const OpenFileCallback& callback, |
| 223 base::PlatformFileError rv, | 224 base::PlatformFileError rv, |
| 224 base::PassPlatformFile file, | 225 base::PassPlatformFile file, |
| 225 bool created); | 226 bool created); |
| 226 void DidCreateSnapshotFile( | 227 void DidCreateSnapshotFile( |
| 227 const SnapshotFileCallback& callback, | 228 const SnapshotFileCallback& callback, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // LocalFileSystemOperation instance is usually deleted upon completion but | 273 // LocalFileSystemOperation instance is usually deleted upon completion but |
| 273 // could be deleted while it has inflight callbacks when Cancel is called. | 274 // could be deleted while it has inflight callbacks when Cancel is called. |
| 274 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_; | 275 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_; |
| 275 | 276 |
| 276 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation); | 277 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation); |
| 277 }; | 278 }; |
| 278 | 279 |
| 279 } // namespace fileapi | 280 } // namespace fileapi |
| 280 | 281 |
| 281 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ | 282 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ |
| OLD | NEW |