Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: sync/protocol/proto_enum_conversions.h

Issue 1140653006: [sync] Add WalletMetadataSpecifics protobuf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 5 #ifndef SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
7 7
8 // Keep this file in sync with the .proto files in this directory. 8 // Keep this file in sync with the .proto files in this directory.
9 9
10 #include "sync/base/sync_export.h" 10 #include "sync/base/sync_export.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 SYNC_EXPORT_PRIVATE const char* GetActionString( 53 SYNC_EXPORT_PRIVATE const char* GetActionString(
54 sync_pb::SyncEnums::Action action); 54 sync_pb::SyncEnums::Action action);
55 55
56 SYNC_EXPORT_PRIVATE const char* GetLaunchTypeString( 56 SYNC_EXPORT_PRIVATE const char* GetLaunchTypeString(
57 sync_pb::AppSpecifics::LaunchType launch_type); 57 sync_pb::AppSpecifics::LaunchType launch_type);
58 58
59 SYNC_EXPORT_PRIVATE const char* GetWalletInfoTypeString( 59 SYNC_EXPORT_PRIVATE const char* GetWalletInfoTypeString(
60 sync_pb::AutofillWalletSpecifics::WalletInfoType wallet_info_type); 60 sync_pb::AutofillWalletSpecifics::WalletInfoType wallet_info_type);
61 61
62 SYNC_EXPORT_PRIVATE const char* GetWalletMetadataTypeString(
63 sync_pb::WalletMetadataSpecifics::Type wallet_metadata_type);
64
62 SYNC_EXPORT_PRIVATE const char* GetWalletCardStatusString( 65 SYNC_EXPORT_PRIVATE const char* GetWalletCardStatusString(
63 sync_pb::WalletMaskedCreditCard::WalletCardStatus wallet_card_status); 66 sync_pb::WalletMaskedCreditCard::WalletCardStatus wallet_card_status);
64 67
65 SYNC_EXPORT_PRIVATE const char* GetWalletCardTypeString( 68 SYNC_EXPORT_PRIVATE const char* GetWalletCardTypeString(
66 sync_pb::WalletMaskedCreditCard::WalletCardType wallet_card_type); 69 sync_pb::WalletMaskedCreditCard::WalletCardType wallet_card_type);
67 70
68 const char* GetDeviceTypeString(sync_pb::SyncEnums::DeviceType device_type); 71 const char* GetDeviceTypeString(sync_pb::SyncEnums::DeviceType device_type);
69 72
70 const char* GetFaviconTypeString(sync_pb::SessionTab::FaviconType favicon_type); 73 const char* GetFaviconTypeString(sync_pb::SessionTab::FaviconType favicon_type);
71 74
72 const char* PassphraseTypeString(sync_pb::NigoriSpecifics::PassphraseType type); 75 const char* PassphraseTypeString(sync_pb::NigoriSpecifics::PassphraseType type);
73 76
74 const char* SingletonDebugEventTypeString( 77 const char* SingletonDebugEventTypeString(
75 sync_pb::SyncEnums::SingletonDebugEventType type); 78 sync_pb::SyncEnums::SingletonDebugEventType type);
76 79
77 const char* GetBlockedStateString(sync_pb::TabNavigation::BlockedState state); 80 const char* GetBlockedStateString(sync_pb::TabNavigation::BlockedState state);
78 81
79 } // namespace syncer 82 } // namespace syncer
80 83
81 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 84 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698