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

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

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/translate/core/common/language_detection_logging_helper_unittest.cc
diff --git a/components/translate/core/common/language_detection_logging_helper_unittest.cc b/components/translate/core/common/language_detection_logging_helper_unittest.cc
index fc9c7ebae0a333a7c9f1db77241ad47e3c228d27..948fa9d818914ac2d51fcf3ebc52130aa2f15f9d 100644
--- a/components/translate/core/common/language_detection_logging_helper_unittest.cc
+++ b/components/translate/core/common/language_detection_logging_helper_unittest.cc
@@ -19,7 +19,7 @@ TEST(LanguageDetectionLoggingHelperTest, ConstructUserEventSpecifics) {
details.is_cld_reliable = false;
details.adopted_language = "ja";
// Expected language detection.
- sync_pb::LanguageDetection lang_detection;
+ sync_pb::UserEventSpecifics::LanguageDetection lang_detection;
auto* const lang = lang_detection.add_detected_languages();
lang->set_language_code(details.cld_language);
lang->set_is_reliable(details.is_cld_reliable);
@@ -41,7 +41,7 @@ TEST(LanguageDetectionLoggingHelperTest, DontSetAdoptedLanguage) {
details.is_cld_reliable = true;
details.adopted_language = "en";
// Expected language detection.
- sync_pb::LanguageDetection lang_detection;
+ sync_pb::UserEventSpecifics::LanguageDetection lang_detection;
auto* const lang = lang_detection.add_detected_languages();
lang->set_language_code(details.cld_language);
lang->set_is_reliable(details.is_cld_reliable);

Powered by Google App Engine
This is Rietveld 408576698