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

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

Issue 2882443003: UserEvent proto exploration for 0-Suggest use case.
Patch Set: Adding proto_visitors.h change. 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
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..104361980b62909b30364a6f4110d347de20fd5d 100644
--- a/components/sync/protocol/proto_visitors.h
+++ b/components/sync/protocol/proto_visitors.h
@@ -851,6 +851,8 @@ VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) {
VISIT(event_time_usec);
VISIT(navigation_id);
VISIT(session_id);
+ VISIT(zero_suggest_request);
+ VISIT(zero_suggest_selected);
}
VISIT_PROTO_FIELDS(const sync_pb::WalletMaskedCreditCard& proto) {
@@ -901,6 +903,15 @@ VISIT_PROTO_FIELDS(const sync_pb::WifiCredentialSpecifics& proto) {
VISIT_BYTES(passphrase);
}
+VISIT_PROTO_FIELDS(const sync_pb::ZeroSuggestRequest proto) {
+ VISIT(cusco_request_id);
+}
+
+VISIT_PROTO_FIELDS(const sync_pb::ZeroSuggestSelected proto) {
+ VISIT(request_event_id);
+ VISIT(index_selected);
+}
+
} // namespace syncer
#undef VISIT_

Powered by Google App Engine
This is Rietveld 408576698