/external/chromium_org/components/search_engines/ |
D | template_url_service_unittest.cc | 291 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 …]
|
D | template_url_fetcher_unittest.cc | 159 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()
|
D | template_url_service_sync_unittest.cc | 439 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 …]
|
D | template_url_service.cc | 456 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()
|
D | template_url_fetcher.cc | 240 template_url_service_->GetTemplateURLForKeyword(keyword); in ScheduleDownload()
|
D | template_url_service.h | 144 TemplateURL* GetTemplateURLForKeyword(const base::string16& keyword);
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | search_engines_helper.cc | 147 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()
|
D | two_client_search_engines_sync_test.cc | 154 TemplateURL* turl = service->GetTemplateURLForKeyword(ASCIIToUTF16("test1")); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/search_engines/ |
D | keyword_editor_controller_unittest.cc | 145 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()
|
D | edit_search_engine_controller.cc | 75 GetTemplateURLForKeyword(keyword_input_trimmed); in IsKeywordValid() 90 template_url_service->GetTemplateURLForKeyword(keyword_input); in AcceptAddOrEdit()
|
/external/chromium_org/components/omnibox/ |
D | keyword_provider_unittest.cc | 278 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()
|
D | keyword_provider.cc | 132 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); in GetSubstitutingTemplateURLForInput() 177 url_service->GetTemplateURLForKeyword(keyword); in GetKeywordForText() 197 GetTemplateURLService()->GetTemplateURLForKeyword(keyword), input, in CreateVerbatimMatch()
|
D | autocomplete_match.cc | 341 NULL : template_url_service->GetTemplateURLForKeyword(keyword); in GetTemplateURLWithKeyword()
|
D | search_provider.cc | 96 template_url_service_->GetTemplateURLForKeyword(default_provider_); in GetDefaultProviderURL() 101 template_url_service_->GetTemplateURLForKeyword(keyword_provider_); in GetKeywordProviderURL()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | keyword_extensions_delegate_impl.cc | 146 model->GetTemplateURLForKeyword(keyword)); in Observe() 165 model->GetTemplateURLForKeyword(keyword); in Observe()
|
/external/chromium_org/chrome/browser/importer/ |
D | profile_writer.cc | 313 if (model->GetTemplateURLForKeyword((*i)->keyword()) != NULL) in AddKeywords()
|
/external/chromium_org/chrome/browser/profile_resetter/ |
D | automatic_profile_resetter_delegate_unittest.cc | 432 template_url_service->GetTemplateURLForKeyword( in TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | location_bar_view_mac.mm | 624 profile())->GetTemplateURLForKeyword(keyword);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | location_bar_view.cc | 671 GetTemplateURLForKeyword(keyword); in Layout()
|