Searched refs:url_service (Results 1 – 5 of 5) sorted by relevance
187 TemplateURLService* url_service = in GenerateKeywordIfNecessary() local189 if (!url_service) in GenerateKeywordIfNecessary()192 if (!url_service->loaded()) { in GenerateKeywordIfNecessary()193 url_service->Load(); in GenerateKeywordIfNecessary()199 if (!url_service->CanReplaceKeyword(keyword, url, ¤t_url)) in GenerateKeywordIfNecessary()208 url_service->Remove(current_url); in GenerateKeywordIfNecessary()227 url_service->Add(new TemplateURL(data)); in GenerateKeywordIfNecessary()
62 TemplateURLService* url_service = in IN_PROC_BROWSER_TEST_F() local64 ASSERT_TRUE(url_service); in IN_PROC_BROWSER_TEST_F()65 EXPECT_TRUE(VerifyTemplateURLServiceLoad(url_service)); in IN_PROC_BROWSER_TEST_F()66 TemplateURL* default_provider = url_service->GetDefaultSearchProvider(); in IN_PROC_BROWSER_TEST_F()83 TemplateURL* extension_provider = url_service->GetDefaultSearchProvider(); in IN_PROC_BROWSER_TEST_F()119 EXPECT_EQ(default_provider, url_service->GetDefaultSearchProvider()); in IN_PROC_BROWSER_TEST_F()
49 TemplateURLService* url_service = in SetKeyword() local51 if (!url_service) in SetKeyword()57 url_service->GetKeywordShortName(keyword, &is_extension_keyword)); in SetKeyword()
1241 TemplateURLService* url_service = in ShowFirstRunBubble() local1243 if (!url_service->loaded()) { in ShowFirstRunBubble()1244 template_url_service_ = url_service; in ShowFirstRunBubble()
171 TemplateURLService* url_service = GetTemplateURLService(); in GetKeywordForText() local172 if (!url_service) in GetKeywordForText()177 url_service->GetTemplateURLForKeyword(keyword); in GetKeywordForText()179 !template_url->SupportsReplacement(url_service->search_terms_data())) in GetKeywordForText()