| Index: components/sync/protocol/proto_enum_conversions.cc
|
| diff --git a/components/sync/protocol/proto_enum_conversions.cc b/components/sync/protocol/proto_enum_conversions.cc
|
| index 5a2dff163375de082a9dc7fb8772b869e80b373a..fc9edb73fbe5a612cf5a5f2c304e1deb32ab2869 100644
|
| --- a/components/sync/protocol/proto_enum_conversions.cc
|
| +++ b/components/sync/protocol/proto_enum_conversions.cc
|
| @@ -250,6 +250,18 @@ const char* ProtoEnumToString(
|
| return "";
|
| }
|
|
|
| +const char* ProtoEnumToString(
|
| + sync_pb::WalletMaskedCreditCard::WalletCardClass wallet_card_class) {
|
| + switch (wallet_card_class) {
|
| + ENUM_CASE(sync_pb::WalletMaskedCreditCard, UNKNOWN_CARD_CLASS);
|
| + ENUM_CASE(sync_pb::WalletMaskedCreditCard, CREDIT);
|
| + ENUM_CASE(sync_pb::WalletMaskedCreditCard, DEBIT);
|
| + ENUM_CASE(sync_pb::WalletMaskedCreditCard, PREPAID);
|
| + }
|
| + NOTREACHED();
|
| + return "";
|
| +}
|
| +
|
| const char* ProtoEnumToString(sync_pb::SyncEnums::DeviceType device_type) {
|
| ASSERT_ENUM_BOUNDS(sync_pb::SyncEnums, DeviceType, TYPE_WIN, TYPE_TABLET);
|
| switch (device_type) {
|
|
|