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

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

Issue 2634663002: Add WalletCardClass to WalletMaskedCreditCard (Closed)
Patch Set: Add WalletCardClass to proto_enum_conversions files Created 3 years, 11 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 | « components/sync/protocol/proto_enum_conversions.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 565
566 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) { 566 VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) {
567 VISIT(id); 567 VISIT(id);
568 VISIT_ENUM(status); 568 VISIT_ENUM(status);
569 VISIT(name_on_card); 569 VISIT(name_on_card);
570 VISIT_ENUM(type); 570 VISIT_ENUM(type);
571 VISIT(last_four); 571 VISIT(last_four);
572 VISIT(exp_month); 572 VISIT(exp_month);
573 VISIT(exp_year); 573 VISIT(exp_year);
574 VISIT(billing_address_id); 574 VISIT(billing_address_id);
575 VISIT_ENUM(card_class);
575 } 576 }
576 577
577 VISIT_PROTO_FIELDS(const sync_pb::WalletPostalAddress& proto) { 578 VISIT_PROTO_FIELDS(const sync_pb::WalletPostalAddress& proto) {
578 VISIT(id); 579 VISIT(id);
579 VISIT(recipient_name); 580 VISIT(recipient_name);
580 VISIT(company_name); 581 VISIT(company_name);
581 VISIT_REP(street_address); 582 VISIT_REP(street_address);
582 VISIT(address_1); 583 VISIT(address_1);
583 VISIT(address_2); 584 VISIT(address_2);
584 VISIT(address_3); 585 VISIT(address_3);
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 882
882 } // namespace syncer 883 } // namespace syncer
883 884
884 #undef VISIT_ 885 #undef VISIT_
885 #undef VISIT_BYTES 886 #undef VISIT_BYTES
886 #undef VISIT_ENUM 887 #undef VISIT_ENUM
887 #undef VISIT 888 #undef VISIT
888 #undef VISIT_REP 889 #undef VISIT_REP
889 890
890 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ 891 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_
OLDNEW
« no previous file with comments | « components/sync/protocol/proto_enum_conversions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698