IsValidLanguageCode 65 components/translate/language_detection/language_detection_util.cc if (!translate::IsValidLanguageCode(*code)) { IsValidLanguageCode 27 components/translate/language_detection/language_detection_util.h bool IsValidLanguageCode(const std::string& code); IsValidLanguageCode 35 components/translate/language_detection/language_detection_util_unittest.cc TEST_F(LanguageDetectionUtilTest, IsValidLanguageCode) { IsValidLanguageCode 39 components/translate/language_detection/language_detection_util_unittest.cc EXPECT_TRUE(translate::IsValidLanguageCode(language)); IsValidLanguageCode 42 components/translate/language_detection/language_detection_util_unittest.cc EXPECT_TRUE(translate::IsValidLanguageCode(language)); IsValidLanguageCode 45 components/translate/language_detection/language_detection_util_unittest.cc EXPECT_TRUE(translate::IsValidLanguageCode(language)); IsValidLanguageCode 48 components/translate/language_detection/language_detection_util_unittest.cc EXPECT_TRUE(translate::IsValidLanguageCode(language)); IsValidLanguageCode 52 components/translate/language_detection/language_detection_util_unittest.cc EXPECT_FALSE(translate::IsValidLanguageCode(language)); IsValidLanguageCode 56 components/translate/language_detection/language_detection_util_unittest.cc EXPECT_FALSE(translate::IsValidLanguageCode(language)); IsValidLanguageCode 60 components/translate/language_detection/language_detection_util_unittest.cc EXPECT_FALSE(translate::IsValidLanguageCode(language));