Index: webkit/fileapi/syncable/sync_file_status.h |
diff --git a/webkit/fileapi/syncable/sync_file_status.h b/webkit/fileapi/syncable/sync_file_status.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d00b63cea5dc5f8464b70d61403cea6574b03400 |
--- /dev/null |
+++ b/webkit/fileapi/syncable/sync_file_status.h |
@@ -0,0 +1,29 @@ |
+// 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_FILE_STATUS_H_ |
+#define WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ |
+ |
+namespace fileapi { |
+ |
+enum SyncFileStatus { |
+ // The file has unknown sync status (e.g. the file is missing or there |
+ // was an error while retrieving the sync status for the file). |
+ SYNC_FILE_STATUS_UNKNOWN, |
+ |
+ // The file has no pending local changes (may have pending remote changes |
+ // though). |
+ SYNC_FILE_STATUS_SYNCED, |
+ |
+ // The file has pending local changes that haven't been reflected to the |
+ // remote side. |
+ SYNC_FILE_STATUS_HAS_PENDING_CHANGES, |
+ |
+ // The file is in conflicting state. |
+ SYNC_FILE_STATUS_CONFLICTING, |
+}; |
+ |
+} // namespace fileapi |
+ |
+#endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ |