Searched refs:CanReplaceKeyword (Results 1 – 5 of 5) sorted by relevance
/external/chromium/chrome/browser/search_engines/ |
D | template_url_model_unittest.cc | 399 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()
|
D | template_url_fetcher.cc | 172 !model->CanReplaceKeyword(keyword_, GURL(template_url_->url()->url()), in AddSearchProvider() 194 model->CanReplaceKeyword(new_keyword, in AddSearchProvider()
|
D | template_url_model.h | 106 bool CanReplaceKeyword(const string16& keyword,
|
D | template_url_model.cc | 213 bool TemplateURLModel::CanReplaceKeyword( in CanReplaceKeyword() function in TemplateURLModel
|
/external/chromium/chrome/browser/ui/search_engines/ |
D | search_engine_tab_helper.cc | 169 if (!url_model->CanReplaceKeyword(keyword, url, ¤t_url)) in GenerateKeywordIfNecessary()
|