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_FILE_STATUS_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ |
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ |
7 | 7 |
8 namespace sync_file_system { | 8 namespace sync_file_system { |
9 | 9 |
10 enum SyncFileStatus { | 10 enum SyncFileStatus { |
11 // The file has unknown sync status (e.g. the file is missing or there | 11 // The file has unknown sync status (e.g. the file is missing or there |
12 // was an error while retrieving the sync status for the file). | 12 // was an error while retrieving the sync status for the file). |
13 SYNC_FILE_STATUS_UNKNOWN, | 13 SYNC_FILE_STATUS_UNKNOWN, |
14 | 14 |
15 // The file has no pending local changes (may have pending remote changes | 15 // The file has no pending local changes (may have pending remote changes |
16 // though). | 16 // though). |
17 SYNC_FILE_STATUS_SYNCED, | 17 SYNC_FILE_STATUS_SYNCED, |
18 | 18 |
19 // The file has pending local changes that haven't been reflected to the | 19 // The file has pending local changes that haven't been reflected to the |
20 // remote side. | 20 // remote side. |
21 SYNC_FILE_STATUS_HAS_PENDING_CHANGES, | 21 SYNC_FILE_STATUS_HAS_PENDING_CHANGES, |
22 | 22 |
23 // The file is in conflicting state. | 23 // The file is in conflicting state. |
24 SYNC_FILE_STATUS_CONFLICTING, | 24 SYNC_FILE_STATUS_CONFLICTING, |
25 }; | 25 }; |
26 | 26 |
27 } // namespace fileapi | 27 } // namespace fileapi |
28 | 28 |
29 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ | 29 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ |
OLD | NEW |