Index: webkit/fileapi/syncable/sync_callbacks.h |
diff --git a/webkit/fileapi/syncable/sync_callbacks.h b/webkit/fileapi/syncable/sync_callbacks.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1339e428ffcf57e018640d761e4dd57ffb90afd0 |
--- /dev/null |
+++ b/webkit/fileapi/syncable/sync_callbacks.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ |
+#define WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ |
+ |
+#include "base/callback_forward.h" |
+#include "webkit/fileapi/syncable/sync_status_code.h" |
+ |
+namespace fileapi { |
+class FileSystemURL; |
+ |
+typedef base::Callback<void(SyncStatusCode status)> StatusCallback; |
+typedef base::Callback<void(SyncStatusCode, const FileSystemURL& url)> |
+ SyncCompletionCallback; |
+} // namespace sync_file_system |
kinuko
2012/10/24 03:16:54
nit: please put empty lines after line 11 and befo
|
+ |
+#endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ |