| 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 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 VISIT_PROTO_FIELDS(const sync_pb::UniquePosition& proto) { | 843 VISIT_PROTO_FIELDS(const sync_pb::UniquePosition& proto) { |
| 844 VISIT_BYTES(value); | 844 VISIT_BYTES(value); |
| 845 VISIT_BYTES(compressed_value); | 845 VISIT_BYTES(compressed_value); |
| 846 VISIT(uncompressed_length); | 846 VISIT(uncompressed_length); |
| 847 VISIT_BYTES(custom_compressed_v1); | 847 VISIT_BYTES(custom_compressed_v1); |
| 848 } | 848 } |
| 849 | 849 |
| 850 VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) { | 850 VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) { |
| 851 VISIT(event_time_usec); | 851 VISIT(event_time_usec); |
| 852 VISIT(navigation_id); | 852 VISIT(navigation_id); |
| 853 VISIT(session_id); |
| 853 } | 854 } |
| 854 | 855 |
| 855 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) { | 856 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) { |
| 856 VISIT(id); | 857 VISIT(id); |
| 857 VISIT_ENUM(status); | 858 VISIT_ENUM(status); |
| 858 VISIT(name_on_card); | 859 VISIT(name_on_card); |
| 859 VISIT_ENUM(type); | 860 VISIT_ENUM(type); |
| 860 VISIT(last_four); | 861 VISIT(last_four); |
| 861 VISIT(exp_month); | 862 VISIT(exp_month); |
| 862 VISIT(exp_year); | 863 VISIT(exp_year); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 | 903 |
| 903 } // namespace syncer | 904 } // namespace syncer |
| 904 | 905 |
| 905 #undef VISIT_ | 906 #undef VISIT_ |
| 906 #undef VISIT_BYTES | 907 #undef VISIT_BYTES |
| 907 #undef VISIT_ENUM | 908 #undef VISIT_ENUM |
| 908 #undef VISIT | 909 #undef VISIT |
| 909 #undef VISIT_REP | 910 #undef VISIT_REP |
| 910 | 911 |
| 911 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ | 912 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ |
| OLD | NEW |