| 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 COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_TYPES_H_ |
| 6 #define SYNC_ENGINE_SYNCER_TYPES_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_TYPES_H_ |
| 7 | 7 |
| 8 // The intent of this is to keep all shared data types and enums for the syncer | 8 // The intent of this is to keep all shared data types and enums for the syncer |
| 9 // in a single place without having dependencies between other files. | 9 // in a single place without having dependencies between other files. |
| 10 namespace syncer { | 10 namespace syncer { |
| 11 | 11 |
| 12 enum UpdateAttemptResponse { | 12 enum UpdateAttemptResponse { |
| 13 // Update was applied or safely ignored. | 13 // Update was applied or safely ignored. |
| 14 SUCCESS, | 14 SUCCESS, |
| 15 | 15 |
| 16 // The conditions described by the following enum values are not mutually | 16 // The conditions described by the following enum values are not mutually |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 VERIFY_UNDECIDED | 56 VERIFY_UNDECIDED |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 enum VerifyCommitResult { | 59 enum VerifyCommitResult { |
| 60 VERIFY_UNSYNCABLE, | 60 VERIFY_UNSYNCABLE, |
| 61 VERIFY_OK, | 61 VERIFY_OK, |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace syncer | 64 } // namespace syncer |
| 65 | 65 |
| 66 #endif // SYNC_ENGINE_SYNCER_TYPES_H_ | 66 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_TYPES_H_ |
| OLD | NEW |