| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SYNC_ENGINE_SYNCER_TYPES_H_ | 5 #ifndef SYNC_ENGINE_SYNCER_TYPES_H_ |
| 6 #define SYNC_ENGINE_SYNCER_TYPES_H_ | 6 #define SYNC_ENGINE_SYNCER_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // The intent of this is to keep all shared data types and enums for the syncer | 9 // The intent of this is to keep all shared data types and enums for the syncer |
| 10 // in a single place without having dependencies between other files. | 10 // in a single place without having dependencies between other files. |
| 11 namespace csync { | 11 namespace syncer { |
| 12 | 12 |
| 13 enum UpdateAttemptResponse { | 13 enum UpdateAttemptResponse { |
| 14 // Update was applied or safely ignored. | 14 // Update was applied or safely ignored. |
| 15 SUCCESS, | 15 SUCCESS, |
| 16 | 16 |
| 17 // The conditions described by the following enum values are not mutually | 17 // The conditions described by the following enum values are not mutually |
| 18 // exclusive. The list has been ordered according to priority in the case of | 18 // exclusive. The list has been ordered according to priority in the case of |
| 19 // overlap, with highest priority first. | 19 // overlap, with highest priority first. |
| 20 // | 20 // |
| 21 // For example, in the case where an item had both the IS_UNSYCNED and | 21 // For example, in the case where an item had both the IS_UNSYCNED and |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 VERIFY_UNDELETE, | 75 VERIFY_UNDELETE, |
| 76 VERIFY_SKIP, | 76 VERIFY_SKIP, |
| 77 VERIFY_UNDECIDED | 77 VERIFY_UNDECIDED |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 enum VerifyCommitResult { | 80 enum VerifyCommitResult { |
| 81 VERIFY_UNSYNCABLE, | 81 VERIFY_UNSYNCABLE, |
| 82 VERIFY_OK, | 82 VERIFY_OK, |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace csync | 85 } // namespace syncer |
| 86 | 86 |
| 87 #endif // SYNC_ENGINE_SYNCER_TYPES_H_ | 87 #endif // SYNC_ENGINE_SYNCER_TYPES_H_ |
| OLD | NEW |