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_DIRECTION_H_ | 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_DIRECTION_H_ |
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_DIRECTION_H_ | 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_DIRECTION_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 SyncDirection { | 10 enum SyncDirection { |
12 SYNC_DIRECTION_NONE, | 11 SYNC_DIRECTION_NONE, |
13 SYNC_DIRECTION_LOCAL_TO_REMOTE, | 12 SYNC_DIRECTION_LOCAL_TO_REMOTE, |
14 SYNC_DIRECTION_REMOTE_TO_LOCAL, | 13 SYNC_DIRECTION_REMOTE_TO_LOCAL, |
15 }; | 14 }; |
16 | 15 |
17 } // namespace fileapi | 16 } // namespace fileapi |
18 | 17 |
19 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_DIRECTION_H_ | 18 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_DIRECTION_H_ |
OLD | NEW |