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

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

Issue 12304015: Migrated sync_file_status, sync_action and sync_direction from fileapi:: namespace to sync_file_sys… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 months 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
« no previous file with comments | « webkit/fileapi/syncable/sync_direction.h ('k') | webkit/fileapi/syncable/sync_status_code.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FILE_STATUS_H_ 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_
7 7
8 namespace fileapi { 8 namespace sync_file_system {
9 9
10 // TODO(calvinlo): Move to sync_file_system namespace. http://crbug/174870.
11 enum SyncFileStatus { 10 enum SyncFileStatus {
12 // 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
13 // was an error while retrieving the sync status for the file). 12 // was an error while retrieving the sync status for the file).
14 SYNC_FILE_STATUS_UNKNOWN, 13 SYNC_FILE_STATUS_UNKNOWN,
15 14
16 // 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
17 // though). 16 // though).
18 SYNC_FILE_STATUS_SYNCED, 17 SYNC_FILE_STATUS_SYNCED,
19 18
20 // 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
21 // remote side. 20 // remote side.
22 SYNC_FILE_STATUS_HAS_PENDING_CHANGES, 21 SYNC_FILE_STATUS_HAS_PENDING_CHANGES,
23 22
24 // The file is in conflicting state. 23 // The file is in conflicting state.
25 SYNC_FILE_STATUS_CONFLICTING, 24 SYNC_FILE_STATUS_CONFLICTING,
26 }; 25 };
27 26
28 } // namespace fileapi 27 } // namespace fileapi
29 28
30 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_ 29 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_FILE_STATUS_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/syncable/sync_direction.h ('k') | webkit/fileapi/syncable/sync_status_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698