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

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

Issue 2938813003: [Sync] Nest UserEvent message classes within UserEventSpecifics. (Closed)
Patch Set: Rebase 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 38f162a2f9d1ed6a2eecfd5e6aa94fb4f164168f..6b64e2181dab53790c581a5948f297e34081e0bb 100644
--- a/components/sync/protocol/proto_visitors.h
+++ b/components/sync/protocol/proto_visitors.h
@@ -472,12 +472,13 @@ VISIT_PROTO_FIELDS(const sync_pb::FaviconTrackingSpecifics& proto) {
VISIT(is_bookmarked);
}
-VISIT_PROTO_FIELDS(const sync_pb::FieldTrial::FieldTrialPair& proto) {
+VISIT_PROTO_FIELDS(
+ const sync_pb::UserEventSpecifics::FieldTrial::FieldTrialPair& proto) {
VISIT(name_id);
VISIT(group_id);
}
-VISIT_PROTO_FIELDS(const sync_pb::FieldTrial& proto) {
+VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics::FieldTrial& proto) {
VISIT_REP(field_trial_pairs);
}
@@ -540,12 +541,14 @@ VISIT_PROTO_FIELDS(const sync_pb::KeystoreEncryptionFlags& proto) {
VISIT(enabled);
}
-VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection::Language& proto) {
+VISIT_PROTO_FIELDS(
+ const sync_pb::UserEventSpecifics::LanguageDetection::Language& proto) {
VISIT(language_code);
VISIT(is_reliable);
}
-VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection& proto) {
+VISIT_PROTO_FIELDS(
+ const sync_pb::UserEventSpecifics::LanguageDetection& proto) {
VISIT_REP(detected_languages);
VISIT(adopted_language_code);
}
@@ -847,7 +850,7 @@ VISIT_PROTO_FIELDS(const sync_pb::TimeRangeDirective& proto) {
VISIT(end_time_usec);
}
-VISIT_PROTO_FIELDS(const sync_pb::Translation& proto) {
+VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics::Translation& proto) {
VISIT(from_language_code);
VISIT(to_language_code);
VISIT_ENUM(interaction);
« no previous file with comments | « components/sync/protocol/proto_enum_conversions.cc ('k') | components/sync/protocol/user_event_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698