1// Copyright (c) 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_OPERATION_TYPE_H_
6#define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_OPERATION_TYPE_H_
7
8namespace sync_file_system {
9
10enum SyncOperationType {
11  SYNC_OPERATION_ADD_FILE,
12  SYNC_OPERATION_ADD_DIRECTORY,
13  SYNC_OPERATION_UPDATE_FILE,
14  SYNC_OPERATION_DELETE,
15  SYNC_OPERATION_NONE,
16  SYNC_OPERATION_CONFLICT,
17  SYNC_OPERATION_RESOLVE_TO_LOCAL,
18  SYNC_OPERATION_RESOLVE_TO_REMOTE,
19  SYNC_OPERATION_DELETE_METADATA,
20  SYNC_OPERATION_FAIL,
21};
22
23const char* SyncOperationTypeToString(SyncOperationType type);
24
25}  // namespace sync_file_system
26
27#endif  // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_OPERATION_TYPE_H_
28