| 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_SYNCABLE_SYNC_CALLBACKS_H_ | 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ |
| 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ | 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "webkit/fileapi/syncable/sync_status_code.h" | 9 #include "webkit/fileapi/syncable/sync_status_code.h" |
| 10 | 10 |
| 11 namespace fileapi { | 11 namespace fileapi { |
| 12 class FileSystemURL; | 12 class FileSystemURL; |
| 13 | 13 |
| 14 typedef base::Callback<void(SyncStatusCode status)> StatusCallback; | 14 typedef base::Callback<void(SyncStatusCode status)> StatusCallback; |
| 15 typedef base::Callback<void(SyncStatusCode, const FileSystemURL& url)> | 15 typedef base::Callback<void(SyncStatusCode, const FileSystemURL& url)> |
| 16 SyncCompletionCallback; | 16 SyncCompletionCallback; |
| 17 } // namespace sync_file_system | 17 } // namespace fileapi |
| 18 | 18 |
| 19 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ | 19 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ |
| OLD | NEW |