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 COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 5 #ifndef COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
7 | 7 |
8 #include "components/sync/protocol/app_list_specifics.pb.h" | 8 #include "components/sync/protocol/app_list_specifics.pb.h" |
9 #include "components/sync/protocol/app_specifics.pb.h" | 9 #include "components/sync/protocol/app_specifics.pb.h" |
10 #include "components/sync/protocol/client_debug_info.pb.h" | 10 #include "components/sync/protocol/client_debug_info.pb.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 const char* ProtoEnumToString( | 59 const char* ProtoEnumToString( |
60 sync_pb::SyncEnums::PageTransitionRedirectType redirect_type); | 60 sync_pb::SyncEnums::PageTransitionRedirectType redirect_type); |
61 | 61 |
62 const char* ProtoEnumToString(sync_pb::SyncEnums::SingletonDebugEventType type); | 62 const char* ProtoEnumToString(sync_pb::SyncEnums::SingletonDebugEventType type); |
63 | 63 |
64 const char* ProtoEnumToString(sync_pb::TabNavigation::BlockedState state); | 64 const char* ProtoEnumToString(sync_pb::TabNavigation::BlockedState state); |
65 | 65 |
66 const char* ProtoEnumToString(sync_pb::TabNavigation::PasswordState state); | 66 const char* ProtoEnumToString(sync_pb::TabNavigation::PasswordState state); |
67 | 67 |
| 68 const char* ProtoEnumToString(sync_pb::Translation::Interaction interaction); |
| 69 |
68 const char* ProtoEnumToString( | 70 const char* ProtoEnumToString( |
69 sync_pb::WalletMaskedCreditCard::WalletCardClass wallet_card_class); | 71 sync_pb::WalletMaskedCreditCard::WalletCardClass wallet_card_class); |
70 | 72 |
71 const char* ProtoEnumToString( | 73 const char* ProtoEnumToString( |
72 sync_pb::WalletMaskedCreditCard::WalletCardStatus wallet_card_status); | 74 sync_pb::WalletMaskedCreditCard::WalletCardStatus wallet_card_status); |
73 | 75 |
74 const char* ProtoEnumToString( | 76 const char* ProtoEnumToString( |
75 sync_pb::WalletMaskedCreditCard::WalletCardType wallet_card_type); | 77 sync_pb::WalletMaskedCreditCard::WalletCardType wallet_card_type); |
76 | 78 |
77 const char* ProtoEnumToString( | 79 const char* ProtoEnumToString( |
78 sync_pb::WalletMetadataSpecifics::Type wallet_metadata_type); | 80 sync_pb::WalletMetadataSpecifics::Type wallet_metadata_type); |
79 | 81 |
80 const char* ProtoEnumToString( | 82 const char* ProtoEnumToString( |
81 sync_pb::WifiCredentialSpecifics::SecurityClass security_class); | 83 sync_pb::WifiCredentialSpecifics::SecurityClass security_class); |
82 | 84 |
83 } // namespace syncer | 85 } // namespace syncer |
84 | 86 |
85 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 87 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
OLD | NEW |