Home
last modified time | relevance | path

Searched refs:blocked_languages (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/components/translate/core/browser/
Dtranslate_prefs_unittest.cc39 std::vector<std::string> blocked_languages; in TEST() local
41 TranslatePrefs::CreateBlockedLanguages(&blocked_languages, in TEST()
57 EXPECT_EQ(expected.size(), blocked_languages.size()); in TEST()
60 EXPECT_NE(blocked_languages.end(), in TEST()
61 std::find(blocked_languages.begin(), in TEST()
62 blocked_languages.end(), in TEST()
79 std::vector<std::string> blocked_languages; in TEST() local
80 TranslatePrefs::CreateBlockedLanguages(&blocked_languages, in TEST()
89 EXPECT_EQ(expected.size(), blocked_languages.size()); in TEST()
92 EXPECT_NE(blocked_languages.end(), in TEST()
[all …]
Dtranslate_prefs.cc435 std::vector<std::string> blocked_languages; in MigrateUserPrefs() local
437 &blocked_languages, blacklisted_languages, accept_languages); in MigrateUserPrefs()
443 blocked_languages.begin(); in MigrateUserPrefs()
444 it != blocked_languages.end(); ++it) { in MigrateUserPrefs()
455 blocked_languages.begin(); in MigrateUserPrefs()
456 it != blocked_languages.end(); ++it) { in MigrateUserPrefs()
473 std::vector<std::string>* blocked_languages, in CreateBlockedLanguages() argument
476 DCHECK(blocked_languages); in CreateBlockedLanguages()
477 DCHECK(blocked_languages->empty()); in CreateBlockedLanguages()
505 blocked_languages->insert( in CreateBlockedLanguages()
[all …]
Dtranslate_prefs.h132 std::vector<std::string>* blocked_languages,