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

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

Issue 2880683002: Adding RegisterDependantFieldTrial interface method. (Closed)
Patch Set: Updates for Patrick. Created 3 years, 7 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
« no previous file with comments | « no previous file | components/sync/protocol/user_event_specifics.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/proto_visitors.h
diff --git a/components/sync/protocol/proto_visitors.h b/components/sync/protocol/proto_visitors.h
index 31b343b39645d0fd515994eb2d5198540686d3d6..4f9da7374f9c8cc583eda08b01441f3baf144ffb 100644
--- a/components/sync/protocol/proto_visitors.h
+++ b/components/sync/protocol/proto_visitors.h
@@ -472,6 +472,15 @@ VISIT_PROTO_FIELDS(const sync_pb::FaviconTrackingSpecifics& proto) {
VISIT(is_bookmarked);
}
+VISIT_PROTO_FIELDS(const sync_pb::FieldTrialEvent::FieldTrial& 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::GcmChannelFlags& proto) {
VISIT(enabled);
}
@@ -851,6 +860,7 @@ VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) {
VISIT(event_time_usec);
VISIT(navigation_id);
VISIT(session_id);
+ VISIT(field_trial_event);
}
VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) {
« 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