| 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 // Keep this file in sync with entry_kernel.h. | |
| 6 | |
| 7 #include "components/sync/syncable/syncable_enum_conversions.h" | 5 #include "components/sync/syncable/syncable_enum_conversions.h" |
| 8 | 6 |
| 9 #include "base/logging.h" | 7 #include "base/logging.h" |
| 10 | 8 |
| 11 namespace syncer { | 9 namespace syncer { |
| 12 namespace syncable { | 10 namespace syncable { |
| 13 | 11 |
| 14 // We can't tokenize expected_min/expected_max since it can be a | 12 // We can't tokenize expected_min/expected_max since it can be a |
| 15 // general expression. | 13 // general expression. |
| 16 #define ASSERT_ENUM_BOUNDS(enum_min, enum_max, expected_min, expected_max) \ | 14 #define ASSERT_ENUM_BOUNDS(enum_min, enum_max, expected_min, expected_max) \ |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 } | 181 } |
| 184 NOTREACHED(); | 182 NOTREACHED(); |
| 185 return ""; | 183 return ""; |
| 186 } | 184 } |
| 187 | 185 |
| 188 #undef ENUM_CASE | 186 #undef ENUM_CASE |
| 189 #undef ASSERT_ENUM_BOUNDS | 187 #undef ASSERT_ENUM_BOUNDS |
| 190 | 188 |
| 191 } // namespace syncable | 189 } // namespace syncable |
| 192 } // namespace syncer | 190 } // namespace syncer |
| OLD | NEW |