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

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

Issue 2626263005: [Autofill] Sync new wallet metadata fields through Chrome Sync. (Closed)
Patch Set: Addressed comments 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/autofill_specifics.proto ('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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 VISIT(address_home_dependent_locality); 278 VISIT(address_home_dependent_locality);
279 VISIT(address_home_language_code); 279 VISIT(address_home_language_code);
280 VISIT_REP(phone_home_whole_number); 280 VISIT_REP(phone_home_whole_number);
281 } 281 }
282 282
283 VISIT_PROTO_FIELDS(const sync_pb::WalletMetadataSpecifics& proto) { 283 VISIT_PROTO_FIELDS(const sync_pb::WalletMetadataSpecifics& proto) {
284 VISIT_ENUM(type); 284 VISIT_ENUM(type);
285 VISIT(id); 285 VISIT(id);
286 VISIT(use_count); 286 VISIT(use_count);
287 VISIT(use_date); 287 VISIT(use_date);
288 VISIT(card_billing_address_id);
289 VISIT(address_has_converted);
288 } 290 }
289 291
290 VISIT_PROTO_FIELDS(const sync_pb::AutofillWalletSpecifics& proto) { 292 VISIT_PROTO_FIELDS(const sync_pb::AutofillWalletSpecifics& proto) {
291 VISIT_ENUM(type); 293 VISIT_ENUM(type);
292 VISIT(masked_card); 294 VISIT(masked_card);
293 VISIT(address); 295 VISIT(address);
294 } 296 }
295 297
296 VISIT_PROTO_FIELDS(const sync_pb::MetaInfo& proto) { 298 VISIT_PROTO_FIELDS(const sync_pb::MetaInfo& proto) {
297 VISIT(key); 299 VISIT(key);
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 883
882 } // namespace syncer 884 } // namespace syncer
883 885
884 #undef VISIT_ 886 #undef VISIT_
885 #undef VISIT_BYTES 887 #undef VISIT_BYTES
886 #undef VISIT_ENUM 888 #undef VISIT_ENUM
887 #undef VISIT 889 #undef VISIT
888 #undef VISIT_REP 890 #undef VISIT_REP
889 891
890 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ 892 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_
OLDNEW
« no previous file with comments | « components/sync/protocol/autofill_specifics.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698