Lines Matching refs:original_language
29 const std::string& original_language) {
30 return IsValueBlacklisted(kPrefTranslateLanguageBlacklist, original_language);
33 void TranslatePrefs::BlacklistLanguage(const std::string& original_language) {
34 BlacklistValue(kPrefTranslateLanguageBlacklist, original_language);
38 const std::string& original_language) {
39 RemoveValueFromBlacklist(kPrefTranslateLanguageBlacklist, original_language);
55 const std::string& original_language,
60 if (dict->GetString(original_language, &auto_target_lang) &&
68 const std::string& original_language,
76 dict->SetString(original_language, target_language);
81 const std::string& original_language,
89 if (dict->Remove(original_language, NULL))
140 const std::string& original_language, const GURL& url) {
144 return (!prefs.IsLanguageBlacklisted(original_language));
148 const std::string& original_language, std::string* target_language) {
150 return prefs.IsLanguageWhitelisted(original_language, target_language);
260 const std::string& original_language, std::string* target_language) {
262 if (dict && dict->GetString(original_language, target_language)) {