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

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

Issue 2938813003: [Sync] Nest UserEvent message classes within UserEventSpecifics. (Closed)
Patch Set: Rebase Created 3 years, 5 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
« no previous file with comments | « no previous file | components/sync/protocol/proto_enum_conversions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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); 68 const char* ProtoEnumToString(
69 sync_pb::UserEventSpecifics::Translation::Interaction interaction);
69 70
70 const char* ProtoEnumToString( 71 const char* ProtoEnumToString(
71 sync_pb::WalletMaskedCreditCard::WalletCardClass wallet_card_class); 72 sync_pb::WalletMaskedCreditCard::WalletCardClass wallet_card_class);
72 73
73 const char* ProtoEnumToString( 74 const char* ProtoEnumToString(
74 sync_pb::WalletMaskedCreditCard::WalletCardStatus wallet_card_status); 75 sync_pb::WalletMaskedCreditCard::WalletCardStatus wallet_card_status);
75 76
76 const char* ProtoEnumToString( 77 const char* ProtoEnumToString(
77 sync_pb::WalletMaskedCreditCard::WalletCardType wallet_card_type); 78 sync_pb::WalletMaskedCreditCard::WalletCardType wallet_card_type);
78 79
79 const char* ProtoEnumToString( 80 const char* ProtoEnumToString(
80 sync_pb::WalletMetadataSpecifics::Type wallet_metadata_type); 81 sync_pb::WalletMetadataSpecifics::Type wallet_metadata_type);
81 82
82 const char* ProtoEnumToString( 83 const char* ProtoEnumToString(
83 sync_pb::WifiCredentialSpecifics::SecurityClass security_class); 84 sync_pb::WifiCredentialSpecifics::SecurityClass security_class);
84 85
85 } // namespace syncer 86 } // namespace syncer
86 87
87 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 88 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « no previous file | components/sync/protocol/proto_enum_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698