Searched refs:requested_locale (Results 1 – 5 of 5) sorted by relevance
48 std::string CalculateSelectedLanguage(const std::string& requested_locale, in CalculateSelectedLanguage() argument51 if (!l10n_util::CheckAndResolveLocale(requested_locale, &resolved_locale)) in CalculateSelectedLanguage()55 return requested_locale; in CalculateSelectedLanguage()243 const std::string& requested_locale, in OnLanguageChangedCallback() argument252 if (requested_locale == loaded_locale) { in OnLanguageChangedCallback()253 self->selected_language_code_ = requested_locale; in OnLanguageChangedCallback()256 CalculateSelectedLanguage(requested_locale, loaded_locale); in OnLanguageChangedCallback()
45 void OnLanguageChangedCallback(const std::string& requested_locale,
71 const std::string& requested_locale,
140 const std::string& requested_locale, in OnLanguageChangedCallback() argument
125 std::string requested_locale; member135 self->requested_locale = locale; in OnLocaleSwitched()154 EXPECT_EQ(data.requested_locale, locale); in RunSwitchLanguageTest()