Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: webkit/fileapi/syncable/sync_callbacks.h

Issue 11421197: Implement SyncFileSystemService::GetFileSyncStatus method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent fix Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/file_system_url.h" 9 #include "webkit/fileapi/file_system_url.h"
10 #include "webkit/fileapi/syncable/sync_file_status.h"
10 #include "webkit/fileapi/syncable/sync_operation_type.h" 11 #include "webkit/fileapi/syncable/sync_operation_type.h"
11 #include "webkit/fileapi/syncable/sync_status_code.h" 12 #include "webkit/fileapi/syncable/sync_status_code.h"
12 13
13 namespace fileapi { 14 namespace fileapi {
14 15
15 class FileSystemURL; 16 class FileSystemURL;
16 class SyncFileMetadata; 17 class SyncFileMetadata;
17 class ConflictFileInfo; 18 class ConflictFileInfo;
18 19
19 typedef base::Callback<void(SyncStatusCode status)> 20 typedef base::Callback<void(SyncStatusCode status)>
(...skipping 13 matching lines...) Expand all
33 34
34 typedef base::Callback<void(fileapi::SyncStatusCode status, 35 typedef base::Callback<void(fileapi::SyncStatusCode status,
35 const fileapi::ConflictFileInfo& conflict_info)> 36 const fileapi::ConflictFileInfo& conflict_info)>
36 ConflictFileInfoCallback; 37 ConflictFileInfoCallback;
37 38
38 typedef base::Callback<void(SyncStatusCode status, 39 typedef base::Callback<void(SyncStatusCode status,
39 const FileSystemURL& url, 40 const FileSystemURL& url,
40 SyncOperationType operation_type)> 41 SyncOperationType operation_type)>
41 SyncOperationCallback; 42 SyncOperationCallback;
42 43
44 typedef base::Callback<void(SyncStatusCode status,
45 SyncFileStatus sync_file_status)>
46 SyncFileStatusCallback;
47
43 } // namespace fileapi 48 } // namespace fileapi
44 49
45 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_ 50 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_CALLBACKS_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/syncable/local_file_sync_context.cc ('k') | webkit/fileapi/syncable/sync_file_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698