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

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

Issue 2892553003: Initial proto for language detection. (Closed)
Patch Set: fix 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 4f9da7374f9c8cc583eda08b01441f3baf144ffb..b0ba973c4b50b819ece66395f7d0cfb31084c483 100644
--- a/components/sync/protocol/proto_visitors.h
+++ b/components/sync/protocol/proto_visitors.h
@@ -540,6 +540,16 @@ VISIT_PROTO_FIELDS(const sync_pb::KeystoreEncryptionFlags& proto) {
VISIT(enabled);
}
+VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection::Language& proto) {
+ VISIT(language_code);
+ VISIT(is_reliable);
+}
+
+VISIT_PROTO_FIELDS(const sync_pb::LanguageDetection& proto) {
+ VISIT_REP(detected_languages);
+ VISIT(adopted_language);
+}
+
VISIT_PROTO_FIELDS(const sync_pb::LinkedAppIconInfo& proto) {
VISIT(url);
VISIT(size);
@@ -861,6 +871,7 @@ VISIT_PROTO_FIELDS(const sync_pb::UserEventSpecifics& proto) {
VISIT(navigation_id);
VISIT(session_id);
VISIT(field_trial_event);
+ VISIT(language_detection);
}
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