summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync_file_system/sync_file_status.h
blob: b27646cdffeb193ce18fa8c93001af9e6615bad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_STATUS_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_STATUS_H_

namespace sync_file_system {

enum SyncFileStatus {
  // The file has unknown sync status (e.g. the file is missing or there
  // was an error while retrieving the sync status for the file).
  SYNC_FILE_STATUS_UNKNOWN,

  // The file has no pending local changes (may have pending remote changes
  // though).
  SYNC_FILE_STATUS_SYNCED,

  // The file has pending local changes that haven't been reflected to the
  // remote side.
  SYNC_FILE_STATUS_HAS_PENDING_CHANGES,

  // The file is in conflicting state.
  SYNC_FILE_STATUS_CONFLICTING,
};

}  // namespace sync_file_system

#endif  // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_STATUS_H_