Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / sync_file_system / conflict_resolution_policy.h
blob648ed2c2db1a53f6ad9693ed3fbac1cc0d917aeb
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.
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_CONFLICT_RESOLUTION_POLICY_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_CONFLICT_RESOLUTION_POLICY_H_
8 namespace sync_file_system {
10 enum ConflictResolutionPolicy {
11 // Resolution policy unknown or not initialized. Usually indicates an error.
12 CONFLICT_RESOLUTION_POLICY_UNKNOWN,
14 // The service automatically resolves a conflict by choosing the one
15 // that is updated more recently.
16 CONFLICT_RESOLUTION_POLICY_LAST_WRITE_WIN,
18 // The service does nothing and just leaves conflicting files in
19 // 'conflicted' state.
20 CONFLICT_RESOLUTION_POLICY_MANUAL,
23 } // namespace sync_file_system
25 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_CONFLICT_RESOLUTION_POLICY_H_