| 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_ACTION_H_ | 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_ |
| 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_ | 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_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 SyncAction { | 10 enum SyncAction { |
| 12 // Indicates no action has been made. | 11 // Indicates no action has been made. |
| 13 SYNC_ACTION_NONE, | 12 SYNC_ACTION_NONE, |
| 14 | 13 |
| 15 // Indicates a new file or directory has been added. | 14 // Indicates a new file or directory has been added. |
| 16 SYNC_ACTION_ADDED, | 15 SYNC_ACTION_ADDED, |
| 17 | 16 |
| 18 // Indicates an existing file or directory has been updated. | 17 // Indicates an existing file or directory has been updated. |
| 19 SYNC_ACTION_UPDATED, | 18 SYNC_ACTION_UPDATED, |
| 20 | 19 |
| 21 // Indicates a file or directory has been deleted. | 20 // Indicates a file or directory has been deleted. |
| 22 SYNC_ACTION_DELETED, | 21 SYNC_ACTION_DELETED, |
| 23 }; | 22 }; |
| 24 | 23 |
| 25 } // namespace fileapi | 24 } // namespace fileapi |
| 26 | 25 |
| 27 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_ | 26 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_ |
| OLD | NEW |