Only sync parent directory once after a leveldb file rename.
[chromium-blink-merge.git] / webkit / fileapi / syncable / sync_action.h
blobb6328ced6074d22ff752448ae13cabcc238ad39b
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
3 // found in the LICENSE file.
5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_
8 namespace sync_file_system {
10 enum SyncAction {
11 // Indicates no action has been made.
12 SYNC_ACTION_NONE,
14 // Indicates a new file or directory has been added.
15 SYNC_ACTION_ADDED,
17 // Indicates an existing file or directory has been updated.
18 SYNC_ACTION_UPDATED,
20 // Indicates a file or directory has been deleted.
21 SYNC_ACTION_DELETED,
24 } // namespace fileapi
26 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_ACTION_H_