Searched refs:IsSiteBlacklisted (Results 1 - 18 of 18) sorted by relevance

/external/chromium/chrome/browser/translate/
H A Doptions_menu_model.cc68 return translate_infobar_delegate_->IsSiteBlacklisted();
88 !translate_infobar_delegate_->IsSiteBlacklisted());
H A Dtranslate_prefs.h31 bool IsSiteBlacklisted(const std::string& site);
H A Dtranslate_infobar_delegate.h106 virtual bool IsSiteBlacklisted();
H A Dtranslate_prefs.cc42 bool TranslatePrefs::IsSiteBlacklisted(const std::string& site) { function in class:TranslatePrefs
142 if (prefs.IsSiteBlacklisted(url.HostNoBrackets()))
H A Dtranslate_infobar_delegate.cc152 bool TranslateInfoBarDelegate::IsSiteBlacklisted() { function in class:TranslateInfoBarDelegate
154 return !host.empty() && prefs_.IsSiteBlacklisted(host);
162 if (prefs_.IsSiteBlacklisted(host)) {
H A Dtranslate_manager_browsertest.cc894 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host));
898 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(host));
913 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host));
989 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(url.host()));
1025 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host()));
/external/chromium_org/chrome/browser/translate/
H A Doptions_menu_model.cc76 return translate_infobar_delegate_->IsSiteBlacklisted();
96 !translate_infobar_delegate_->IsSiteBlacklisted());
H A Dtranslate_ui_delegate.h84 bool IsSiteBlacklisted();
H A Dtranslate_infobar_delegate.cc138 bool TranslateInfoBarDelegate::IsSiteBlacklisted() { function in class:TranslateInfoBarDelegate
139 return ui_delegate_.IsSiteBlacklisted();
143 if (ui_delegate_.IsSiteBlacklisted()) {
H A Dtranslate_infobar_delegate.h128 virtual bool IsSiteBlacklisted();
H A Dtranslate_prefs.h53 bool IsSiteBlacklisted(const std::string& site) const;
H A Dtranslate_ui_delegate.cc210 bool TranslateUIDelegate::IsSiteBlacklisted() { function in class:TranslateUIDelegate
212 return !host.empty() && prefs_->IsSiteBlacklisted(host);
H A Dtranslate_manager_browsertest.cc1092 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host()));
1107 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host()));
1134 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host));
1138 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(host));
1152 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(host));
1231 EXPECT_TRUE(translate_prefs.IsSiteBlacklisted(url.host()));
1267 EXPECT_FALSE(translate_prefs.IsSiteBlacklisted(url.host()));
H A Dtranslate_manager.cc387 if (translate_prefs.IsSiteBlacklisted(page_url.HostNoBrackets())) {
H A Dtranslate_prefs.cc138 bool TranslatePrefs::IsSiteBlacklisted(const std::string& site) const { function in class:TranslatePrefs
/external/chromium_org/chrome/browser/ui/android/infobars/
H A Dtranslate_infobar.cc102 if (never_translate_site && !delegate->IsSiteBlacklisted())
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dtwo_client_preferences_sync_test.cc440 ASSERT_FALSE(translate_client0_prefs.IsSiteBlacklisted(host));
442 ASSERT_TRUE(translate_client0_prefs.IsSiteBlacklisted(host));
445 ASSERT_TRUE(translate_client1_prefs.IsSiteBlacklisted(host));
448 ASSERT_FALSE(translate_client0_prefs.IsSiteBlacklisted(host));
451 ASSERT_FALSE(translate_client1_prefs.IsSiteBlacklisted(host));
/external/chromium/chrome/browser/automation/
H A Dtesting_automation_provider.cc3741 if (translate_bar->IsSiteBlacklisted()) {

Completed in 264 milliseconds