Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / sync_file_system / sync_action.h
blob639de561f14edf7316fa02fb6b5857dd0cb2b531
1 // Copyright 2013 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_ACTION_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_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 const char* SyncActionToString(SyncAction action);
26 } // namespace sync_file_system
28 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_ACTION_H_