Home
last modified time | relevance | path

Searched refs:GetTemplateURLForKeyword (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/components/search_engines/
Dtemplate_url_service_unittest.cc291 ASSERT_EQ(t_url, model()->GetTemplateURLForKeyword(t_url->keyword())); in TEST_F()
301 model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")); in TEST_F()
328 loaded_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")); in TEST_F()
340 EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")) == NULL); in TEST_F()
364 EXPECT_EQ(t_url, model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword"))); in TEST_F()
376 EXPECT_EQ(t_url, model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword"))); in TEST_F()
389 EXPECT_EQ(t_url2, model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword"))); in TEST_F()
408 model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword3")); in TEST_F()
416 model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword1")); in TEST_F()
419 model()->GetTemplateURLForKeyword(ASCIIToUTF16("test1"))); in TEST_F()
[all …]
Dtemplate_url_fetcher_unittest.cc159 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
171 const TemplateURL* t_url = test_util()->model()->GetTemplateURLForKeyword( in TEST_F()
184 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
225 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
248 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
259 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
289 ASSERT_TRUE(test_util()->model()->GetTemplateURLForKeyword(keyword)); in TEST_F()
Dtemplate_url_service_sync_unittest.cc439 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
449 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
457 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
465 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
544 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(original_turl_keyword)); in TEST_F()
561 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(original_turl_keyword)); in TEST_F()
578 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(sync_turl->keyword())); in TEST_F()
648 EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("abc.com"))); in TEST_F()
649 EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("def.com"))); in TEST_F()
650 EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("xyz.com"))); in TEST_F()
[all …]
Dtemplate_url_service.cc456 TemplateURL* existing_url = GetTemplateURLForKeyword(keyword); in CanReplaceKeyword()
506 TemplateURL* TemplateURLService::GetTemplateURLForKeyword( in GetTemplateURLForKeyword() function in TemplateURLService
901 const TemplateURL* template_url = GetTemplateURLForKeyword(keyword); in GetKeywordShortName()
1607 TemplateURL* keyword_turl = GetTemplateURLForKeyword(keyword); in FindNonExtensionTemplateURLForKeyword()
1957 GetTemplateURLForKeyword(template_url->keyword()); in AddNoNotify()
2136 if (!GetTemplateURLForKeyword(turl.keyword())) in UniquifyKeyword()
2145 if (!GetTemplateURLForKeyword(keyword_candidate)) in UniquifyKeyword()
2156 } while (GetTemplateURLForKeyword(keyword_candidate)); in UniquifyKeyword()
2191 DCHECK(!GetTemplateURLForKeyword(new_keyword)); in ResolveSyncKeywordConflict()
Dtemplate_url_fetcher.cc240 template_url_service_->GetTemplateURLForKeyword(keyword); in ScheduleDownload()
Dtemplate_url_service.h144 TemplateURL* GetTemplateURLForKeyword(const base::string16& keyword);
/external/chromium_org/chrome/browser/sync/test/integration/
Dsearch_engines_helper.cc147 const TemplateURL* other_turl = other->GetTemplateURLForKeyword( in ServiceMatchesVerifier()
225 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); in EditSearchEngine()
232 GetVerifierService()->GetTemplateURLForKeyword(keyword); in EditSearchEngine()
242 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); in DeleteSearchEngineBySeed()
248 GetVerifierService()->GetTemplateURLForKeyword(keyword); in DeleteSearchEngineBySeed()
257 TemplateURL* turl = service->GetTemplateURLForKeyword(CreateKeyword(seed)); in ChangeDefaultSearchProvider()
262 GetVerifierService()->GetTemplateURLForKeyword(CreateKeyword(seed)); in ChangeDefaultSearchProvider()
Dtwo_client_search_engines_sync_test.cc154 TemplateURL* turl = service->GetTemplateURLForKeyword(ASCIIToUTF16("test1")); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/search_engines/
Dkeyword_editor_controller_unittest.cc145 const TemplateURL* turl = util()->model()->GetTemplateURLForKeyword(kB); in TEST_F()
173 const TemplateURL* turl = util()->model()->GetTemplateURLForKeyword(kB); in TEST_F()
195 util()->model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")); in TEST_F()
198 util()->model()->GetTemplateURLForKeyword(ASCIIToUTF16("b1")); in TEST_F()
219 util()->model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")); in TEST_F()
222 util()->model()->GetTemplateURLForKeyword(ASCIIToUTF16("b1")); in TEST_F()
Dedit_search_engine_controller.cc75 GetTemplateURLForKeyword(keyword_input_trimmed); in IsKeywordValid()
90 template_url_service->GetTemplateURLForKeyword(keyword_input); in AcceptAddOrEdit()
/external/chromium_org/components/omnibox/
Dkeyword_provider_unittest.cc278 ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword)); in TEST_F()
283 model_->Remove(model_->GetTemplateURLForKeyword(ASCIIToUTF16("aaaa"))); in TEST_F()
284 ASSERT_TRUE(model_->GetTemplateURLForKeyword(ASCIIToUTF16("aaaa")) == NULL); in TEST_F()
Dkeyword_provider.cc132 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); in GetSubstitutingTemplateURLForInput()
177 url_service->GetTemplateURLForKeyword(keyword); in GetKeywordForText()
197 GetTemplateURLService()->GetTemplateURLForKeyword(keyword), input, in CreateVerbatimMatch()
Dautocomplete_match.cc341 NULL : template_url_service->GetTemplateURLForKeyword(keyword); in GetTemplateURLWithKeyword()
Dsearch_provider.cc96 template_url_service_->GetTemplateURLForKeyword(default_provider_); in GetDefaultProviderURL()
101 template_url_service_->GetTemplateURLForKeyword(keyword_provider_); in GetKeywordProviderURL()
/external/chromium_org/chrome/browser/autocomplete/
Dkeyword_extensions_delegate_impl.cc146 model->GetTemplateURLForKeyword(keyword)); in Observe()
165 model->GetTemplateURLForKeyword(keyword); in Observe()
/external/chromium_org/chrome/browser/importer/
Dprofile_writer.cc313 if (model->GetTemplateURLForKeyword((*i)->keyword()) != NULL) in AddKeywords()
/external/chromium_org/chrome/browser/profile_resetter/
Dautomatic_profile_resetter_delegate_unittest.cc432 template_url_service->GetTemplateURLForKeyword( in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dlocation_bar_view_mac.mm624 profile())->GetTemplateURLForKeyword(keyword);
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dlocation_bar_view.cc671 GetTemplateURLForKeyword(keyword); in Layout()