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_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ | 5 #ifndef SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ |
6 #define SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ | 6 #define SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ |
7 #pragma once | |
8 | 7 |
9 // Keep this file in sync with entry_kernel.h. | 8 // Keep this file in sync with entry_kernel.h. |
10 | 9 |
11 #include "sync/syncable/entry_kernel.h" | 10 #include "sync/syncable/entry_kernel.h" |
12 | 11 |
13 // Utility functions to get the string equivalent for some syncable | 12 // Utility functions to get the string equivalent for some syncable |
14 // enums. | 13 // enums. |
15 | 14 |
16 namespace syncer { | 15 namespace syncer { |
17 namespace syncable { | 16 namespace syncable { |
(...skipping 20 matching lines...) Expand all Loading... |
38 const char* GetStringFieldString(StringField string_field); | 37 const char* GetStringFieldString(StringField string_field); |
39 | 38 |
40 const char* GetProtoFieldString(ProtoField proto_field); | 39 const char* GetProtoFieldString(ProtoField proto_field); |
41 | 40 |
42 const char* GetBitTempString(BitTemp bit_temp); | 41 const char* GetBitTempString(BitTemp bit_temp); |
43 | 42 |
44 } // namespace syncable | 43 } // namespace syncable |
45 } // namespace syncer | 44 } // namespace syncer |
46 | 45 |
47 #endif // SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ | 46 #endif // SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ |
OLD | NEW |