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 | |
8 | 7 |
9 // 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 |
10 // in a single place without having dependencies between other files. | 9 // in a single place without having dependencies between other files. |
11 namespace syncer { | 10 namespace syncer { |
12 | 11 |
13 enum UpdateAttemptResponse { | 12 enum UpdateAttemptResponse { |
14 // Update was applied or safely ignored. | 13 // Update was applied or safely ignored. |
15 SUCCESS, | 14 SUCCESS, |
16 | 15 |
17 // The conditions described by the following enum values are not mutually | 16 // The conditions described by the following enum values are not mutually |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 }; | 77 }; |
79 | 78 |
80 enum VerifyCommitResult { | 79 enum VerifyCommitResult { |
81 VERIFY_UNSYNCABLE, | 80 VERIFY_UNSYNCABLE, |
82 VERIFY_OK, | 81 VERIFY_OK, |
83 }; | 82 }; |
84 | 83 |
85 } // namespace syncer | 84 } // namespace syncer |
86 | 85 |
87 #endif // SYNC_ENGINE_SYNCER_TYPES_H_ | 86 #endif // SYNC_ENGINE_SYNCER_TYPES_H_ |
OLD | NEW |