| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ | |
| 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ | |
| 7 | |
| 8 #include "base/callback_forward.h" | |
| 9 #include "webkit/fileapi/file_system_url.h" | |
| 10 #include "webkit/fileapi/syncable/sync_file_status.h" | |
| 11 #include "webkit/fileapi/syncable/sync_status_code.h" | |
| 12 | |
| 13 namespace fileapi { | |
| 14 class FileSystemURL; | |
| 15 } | |
| 16 | |
| 17 namespace sync_file_system { | |
| 18 | |
| 19 class SyncFileMetadata; | |
| 20 | |
| 21 typedef base::Callback<void(SyncStatusCode status)> | |
| 22 SyncStatusCallback; | |
| 23 | |
| 24 typedef base::Callback<void(SyncStatusCode status, | |
| 25 const fileapi::FileSystemURL& url)> | |
| 26 SyncFileCallback; | |
| 27 | |
| 28 typedef base::Callback<void(SyncStatusCode status, | |
| 29 const SyncFileMetadata& metadata)> | |
| 30 SyncFileMetadataCallback; | |
| 31 | |
| 32 typedef base::Callback<void(SyncStatusCode status, | |
| 33 const fileapi::FileSystemURLSet& urls)> | |
| 34 SyncFileSetCallback; | |
| 35 | |
| 36 typedef base::Callback<void(SyncStatusCode status, | |
| 37 SyncFileStatus sync_file_status)> | |
| 38 SyncFileStatusCallback; | |
| 39 | |
| 40 } // namespace sync_file_system | |
| 41 | |
| 42 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ | |
| OLD | NEW |