Home
last modified time | relevance | path

Searched refs:CanReplaceKeyword (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/search_engines/
Dtemplate_url_model_unittest.cc399 ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("keyword"), in TEST_F()
417 ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("keyword"), in TEST_F()
427 ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("keyword"), in TEST_F()
429 ASSERT_FALSE(model()->CanReplaceKeyword(ASCIIToUTF16("b"), GURL(), NULL)); in TEST_F()
652 ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), GURL(), NULL)); in TEST_F()
657 ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), in TEST_F()
665 ASSERT_FALSE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), in TEST_F()
671 ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), in TEST_F()
677 ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("bar"), in TEST_F()
685 ASSERT_FALSE(model()->CanReplaceKeyword(ASCIIToUTF16("bar"), in TEST_F()
Dtemplate_url_fetcher.cc172 !model->CanReplaceKeyword(keyword_, GURL(template_url_->url()->url()), in AddSearchProvider()
194 model->CanReplaceKeyword(new_keyword, in AddSearchProvider()
Dtemplate_url_model.h106 bool CanReplaceKeyword(const string16& keyword,
Dtemplate_url_model.cc213 bool TemplateURLModel::CanReplaceKeyword( in CanReplaceKeyword() function in TemplateURLModel
/external/chromium/chrome/browser/ui/search_engines/
Dsearch_engine_tab_helper.cc169 if (!url_model->CanReplaceKeyword(keyword, url, &current_url)) in GenerateKeywordIfNecessary()