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

Unified Diff: components/sync/protocol/proto_visitors.h

Issue 2942703002: [Sync] Make children messages of UserEventSpecifics' consistent use event suffix. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/protocol/proto_visitors.h
diff --git a/components/sync/protocol/proto_visitors.h b/components/sync/protocol/proto_visitors.h
index a4a96721235720a5cafc16a948a62a25878aecd3..58e383cc4f93e21c35f857e1c0d8c4ac95e637b8 100644
--- a/components/sync/protocol/proto_visitors.h
+++ b/components/sync/protocol/proto_visitors.h
@@ -472,13 +472,13 @@ VISIT_PROTO_FIELDS(const sync_pb::FaviconTrackingSpecifics& proto) {
VISIT(is_bookmarked);
}
-VISIT_PROTO_FIELDS(const sync_pb::FieldTrialEvent::FieldTrial& proto) {
+VISIT_PROTO_FIELDS(const sync_pb::FieldTrial::FieldTrialPair& proto) {
VISIT(name_id);
VISIT(group_id);
}
-VISIT_PROTO_FIELDS(const sync_pb::FieldTrialEvent& proto) {
- VISIT_REP(field_trials);
+VISIT_PROTO_FIELDS(const sync_pb::FieldTrial& proto) {
+ VISIT_REP(field_trial_pairs);
}
VISIT_PROTO_FIELDS(const sync_pb::GcmChannelFlags& proto) {
@@ -878,7 +878,7 @@ VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) {
VISIT(navigation_id);
VISIT(session_id);
VISIT(test);
- VISIT(field_trial_event);
+ VISIT(field_trial);
VISIT(language_detection);
VISIT(translation);
}

Powered by Google App Engine
This is Rietveld 408576698