OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_VISITORS_H_ | 5 #ifndef COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ |
6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ | 6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_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_notification_specifics.pb.h" | 9 #include "components/sync/protocol/app_notification_specifics.pb.h" |
10 #include "components/sync/protocol/app_setting_specifics.pb.h" | 10 #include "components/sync/protocol/app_setting_specifics.pb.h" |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 VISIT_BYTES(value); | 870 VISIT_BYTES(value); |
871 VISIT_BYTES(compressed_value); | 871 VISIT_BYTES(compressed_value); |
872 VISIT(uncompressed_length); | 872 VISIT(uncompressed_length); |
873 VISIT_BYTES(custom_compressed_v1); | 873 VISIT_BYTES(custom_compressed_v1); |
874 } | 874 } |
875 | 875 |
876 VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) { | 876 VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) { |
877 VISIT(event_time_usec); | 877 VISIT(event_time_usec); |
878 VISIT(navigation_id); | 878 VISIT(navigation_id); |
879 VISIT(session_id); | 879 VISIT(session_id); |
| 880 VISIT(test); |
880 VISIT(field_trial_event); | 881 VISIT(field_trial_event); |
881 VISIT(language_detection); | 882 VISIT(language_detection); |
882 VISIT(translation); | 883 VISIT(translation); |
883 } | 884 } |
884 | 885 |
| 886 VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics::Test& proto) {} |
| 887 |
885 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) { | 888 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) { |
886 VISIT(id); | 889 VISIT(id); |
887 VISIT_ENUM(status); | 890 VISIT_ENUM(status); |
888 VISIT(name_on_card); | 891 VISIT(name_on_card); |
889 VISIT_ENUM(type); | 892 VISIT_ENUM(type); |
890 VISIT(last_four); | 893 VISIT(last_four); |
891 VISIT(exp_month); | 894 VISIT(exp_month); |
892 VISIT(exp_year); | 895 VISIT(exp_year); |
893 VISIT(billing_address_id); | 896 VISIT(billing_address_id); |
894 VISIT_ENUM(card_class); | 897 VISIT_ENUM(card_class); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 | 935 |
933 } // namespace syncer | 936 } // namespace syncer |
934 | 937 |
935 #undef VISIT_ | 938 #undef VISIT_ |
936 #undef VISIT_BYTES | 939 #undef VISIT_BYTES |
937 #undef VISIT_ENUM | 940 #undef VISIT_ENUM |
938 #undef VISIT | 941 #undef VISIT |
939 #undef VISIT_REP | 942 #undef VISIT_REP |
940 | 943 |
941 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ | 944 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ |
OLD | NEW |