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

Unified Diff: components/translate/core/common/language_detection_logging_helper.cc

Issue 2942703002: [Sync] Make children messages of UserEventSpecifics' consistent use event suffix. (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/translate/core/common/language_detection_logging_helper.cc
diff --git a/components/translate/core/common/language_detection_logging_helper.cc b/components/translate/core/common/language_detection_logging_helper.cc
index b98ae8549c6769d7f21e73d65367ec1c4f5a74d5..1f29dc3df31ba6e49af981524e7e112c97873f4c 100644
--- a/components/translate/core/common/language_detection_logging_helper.cc
+++ b/components/translate/core/common/language_detection_logging_helper.cc
@@ -31,8 +31,8 @@ std::unique_ptr<sync_pb::UserEventSpecifics> ConstructLanguageDetectionEvent(
if (details.adopted_language != details.cld_language) {
lang_detection.set_adopted_language_code(details.adopted_language);
}
- *specifics->mutable_language_detection() = lang_detection;
+ *specifics->mutable_language_detection_event() = lang_detection;
return specifics;
}
-} // namespace translate
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698