• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_ACTION_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_ACTION_H_
7 
8 namespace sync_file_system {
9 
10 enum SyncAction {
11   // Indicates no action has been made.
12   SYNC_ACTION_NONE,
13 
14   // Indicates a new file or directory has been added.
15   SYNC_ACTION_ADDED,
16 
17   // Indicates an existing file or directory has been updated.
18   SYNC_ACTION_UPDATED,
19 
20   // Indicates a file or directory has been deleted.
21   SYNC_ACTION_DELETED,
22 };
23 
24 const char* SyncActionToString(SyncAction action);
25 
26 }  // namespace sync_file_system
27 
28 #endif  // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_ACTION_H_
29