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

Unified Diff: webkit/fileapi/syncable/sync_file_status.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/syncable/sync_callbacks.h ('k') | webkit/fileapi/webkit_fileapi.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « webkit/fileapi/syncable/sync_callbacks.h ('k') | webkit/fileapi/webkit_fileapi.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698