OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ |
6 #define SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ |
7 | 7 |
8 // Keep this file in sync with entry_kernel.h. | 8 // Keep this file in sync with entry_kernel.h. |
9 | 9 |
10 #include "sync/base/sync_export.h" | 10 #include "components/sync/base/sync_export.h" |
11 #include "sync/syncable/entry_kernel.h" | 11 #include "components/sync/syncable/entry_kernel.h" |
12 | 12 |
13 // Utility functions to get the string equivalent for some syncable | 13 // Utility functions to get the string equivalent for some syncable |
14 // enums. | 14 // enums. |
15 | 15 |
16 namespace syncer { | 16 namespace syncer { |
17 namespace syncable { | 17 namespace syncable { |
18 | 18 |
19 // The returned strings (which don't have to be freed) are in ASCII. | 19 // The returned strings (which don't have to be freed) are in ASCII. |
20 // The result of passing in an invalid enum value is undefined. | 20 // The result of passing in an invalid enum value is undefined. |
21 | 21 |
(...skipping 23 matching lines...) Expand all Loading... |
45 UniquePositionField position_field); | 45 UniquePositionField position_field); |
46 | 46 |
47 SYNC_EXPORT const char* GetAttachmentMetadataFieldString( | 47 SYNC_EXPORT const char* GetAttachmentMetadataFieldString( |
48 AttachmentMetadataField attachment_metadata_field); | 48 AttachmentMetadataField attachment_metadata_field); |
49 | 49 |
50 SYNC_EXPORT const char* GetBitTempString(BitTemp bit_temp); | 50 SYNC_EXPORT const char* GetBitTempString(BitTemp bit_temp); |
51 | 51 |
52 } // namespace syncable | 52 } // namespace syncable |
53 } // namespace syncer | 53 } // namespace syncer |
54 | 54 |
55 #endif // SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ | 55 #endif // COMPONENTS_SYNC_SYNCABLE_SYNCABLE_ENUM_CONVERSIONS_H_ |
OLD | NEW |