1 // Copyright 2013 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.
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_CALLBACKS_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_CALLBACKS_H_
8 #include "base/callback_forward.h"
9 #include "chrome/browser/sync_file_system/sync_file_status.h"
10 #include "chrome/browser/sync_file_system/sync_status_code.h"
11 #include "storage/browser/fileapi/file_system_url.h"
17 namespace sync_file_system
{
19 class SyncFileMetadata
;
21 typedef base::Callback
<void(SyncStatusCode status
)>
24 typedef base::Callback
<
25 void(SyncStatusCode status
, const storage::FileSystemURL
& url
)>
28 typedef base::Callback
<void(SyncStatusCode status
,
29 const SyncFileMetadata
& metadata
)>
30 SyncFileMetadataCallback
;
32 typedef base::Callback
<
33 void(SyncStatusCode status
, const storage::FileSystemURLSet
& urls
)>
36 typedef base::Callback
<void(SyncStatusCode status
,
37 SyncFileStatus sync_file_status
)>
38 SyncFileStatusCallback
;
40 } // namespace sync_file_system
42 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_CALLBACKS_H_