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

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

Issue 2940863003: [Sync] Adjust UserEvent proto numbers, add Test message. (Closed)
Patch Set: Updated proto_visitor.h Created 3 years, 6 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/user_event_specifics.proto » ('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 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | components/sync/protocol/user_event_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698