/external/chromium_org/athena/main/ |
H A D | url_search_provider.cc | 60 TemplateURL* template_url) OVERRIDE {}
|
/external/chromium_org/chrome/browser/android/ |
H A D | logo_service.cc | 129 TemplateURL* template_url = template_url_service->GetDefaultSearchProvider(); 130 if (!template_url || !template_url->url_ref().HasGoogleBaseURLs(
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | autocomplete_controller.cc | 28 #include "components/search_engines/template_url.h" 429 TemplateURL* template_url = match->GetTemplateURL( local 431 if (!template_url) 434 match->destination_url = GURL(template_url->url_ref().ReplaceSearchTerms( 576 const TemplateURL* template_url = local 578 if (template_url) { 582 i->description = template_url->AdjustedShortNameForLocaleDirection(); 583 if (template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION) { 630 const TemplateURL* template_url = local 632 if (!template_url || !matc [all...] |
H A D | autocomplete_provider_unittest.cc | 28 #include "components/search_engines/template_url.h" 176 const std::string& template_url); 229 const std::string& template_url) { 235 data.SetURL(template_url); 227 RegisterTemplateURL( const base::string16 keyword, const std::string& template_url) argument
|
H A D | history_quick_provider.cc | 37 #include "components/search_engines/template_url.h" 196 // |template_url_service| or |template_url| can be NULL in unit tests. 199 TemplateURL* template_url = template_url_service ? local 212 if (!template_url || 213 !template_url->IsSearchURL(history_match.url_info.url(),
|
H A D | history_quick_provider_unittest.cc | 40 #include "components/search_engines/template_url.h" 697 TemplateURL* template_url = new TemplateURL(data); local 698 template_url_service->Add(template_url); 699 template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
H A D | history_url_provider_unittest.cc | 32 #include "components/search_engines/template_url.h" 812 TemplateURL* template_url = new TemplateURL(data); local 813 template_url_service->Add(template_url); 814 template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
H A D | keyword_extensions_delegate_impl.cc | 65 const TemplateURL* template_url, 67 DCHECK(template_url); 70 std::string extension_id = template_url->GetExtensionId(); 78 profile_, template_url, remaining_input, &matches()->front()); 95 profile_, template_url->GetExtensionId(), 145 const TemplateURL* template_url( 148 profile_, template_url, remaining_input, &matches()->front()); 164 const TemplateURL* template_url = local 186 template_url, input, keyword.length(), 62 Start( const AutocompleteInput& input, bool minimal_changes, const TemplateURL* template_url, const base::string16& remaining_input) argument
|
H A D | keyword_extensions_delegate_impl.h | 40 const TemplateURL* template_url,
|
H A D | shortcuts_backend_unittest.cc | 106 TemplateURL* template_url = new TemplateURL(data); local 107 // Takes ownership of |template_url|. 108 template_url_service->Add(template_url); 109 template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
/external/chromium_org/chrome/browser/ |
H A D | chrome_content_browser_client_unittest.cc | 112 TemplateURL* template_url = new TemplateURL(data); local 114 template_url_service->Add(template_url); 115 template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
/external/chromium_org/chrome/browser/first_run/ |
H A D | first_run.cc | 799 TemplateURLService* template_url = local 801 if (template_url && template_url->GetDefaultSearchProvider())
|
/external/chromium_org/chrome/browser/importer/ |
H A D | ie_importer_browsertest_win.cc | 46 #include "components/search_engines/template_url.h" 301 virtual void AddKeyword(std::vector<TemplateURL*> template_url, argument 306 STLDeleteContainerPointers(template_url.begin(), template_url.end()); 385 virtual void AddKeyword(std::vector<TemplateURL*> template_url, argument
|
H A D | in_process_importer_bridge.cc | 19 #include "components/search_engines/template_url.h" 141 TemplateURL* template_url = TemplateURLParser::Parse( local 144 if (template_url) { 146 search_engine_for_url.find(template_url->url()); 149 std::make_pair(template_url->url(), template_url)).first; 156 iter->second = template_url;
|
/external/chromium_org/chrome/browser/profile_resetter/ |
H A D | automatic_profile_resetter_delegate.cc | 43 const TemplateURL* template_url) { 51 tree->SetString("name", template_url->short_name()); 52 tree->SetString("short_name", template_url->short_name()); 53 tree->SetString("keyword", template_url->keyword()); 54 tree->SetString("search_url", template_url->url()); 55 tree->SetString("url", template_url->url()); 56 tree->SetString("suggestions_url", template_url->suggestions_url()); 57 tree->SetString("instant_url", template_url->instant_url()); 58 tree->SetString("image_url", template_url->image_url()); 59 tree->SetString("new_tab_url", template_url 42 BuildSubTreeFromTemplateURL( const TemplateURL* template_url) argument [all...] |
/external/chromium_org/chrome/browser/search/ |
H A D | instant_service.cc | 395 const TemplateURL* template_url = local 398 template_url, previous_default_search_provider_.get(), 402 template_url ? new TemplateURLData(template_url->data()) : NULL); 412 if (template_url && template_url->HasGoogleBaseURLs(
|
H A D | instant_service_unittest.cc | 132 TemplateURL* template_url = new TemplateURL(data); local 133 // Takes ownership of |template_url|. 134 template_url_service_->Add(template_url); 135 template_url_service_->SetUserSelectedDefaultSearchProvider(template_url);
|
H A D | instant_unittest_base.cc | 23 #include "components/search_engines/template_url.h" 63 TemplateURL* template_url = new TemplateURL(data); local 64 // Takes ownership of |template_url|. 65 template_url_service_->Add(template_url); 66 template_url_service_->SetUserSelectedDefaultSearchProvider(template_url);
|
H A D | search.cc | 153 TemplateURL* template_url, 155 GURL search_url = TemplateURLRefToGURL(template_url->url_ref(), 162 for (size_t i = 0; i < template_url->URLCount() - 1; ++i) { 163 TemplateURLRef ref(template_url, i); 178 bool IsSuitableURLForInstant(const GURL& url, const TemplateURL* template_url) { argument 179 return template_url->HasSearchTermsReplacementKey(url) && 197 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); 198 if (!template_url) 201 if (!IsSuitableURLForInstant(url, template_url)) 204 const TemplateURLRef& instant_url_ref = template_url 152 MatchesAnySearchURL(const GURL& url, TemplateURL* template_url, const SearchTermsData& search_terms_data) argument 284 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local 355 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local 364 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local 513 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); local [all...] |
H A D | search_terms_tracker.cc | 9 #include "components/search_engines/template_url.h" 89 TemplateURL* template_url = service->GetDefaultSearchProvider(); local 94 if (template_url->IsSearchURL(entry->GetURL(), 101 template_url->ExtractSearchTermsFromURL(entry->GetURL(),
|
H A D | search_unittest.cc | 67 TemplateURL* template_url = new TemplateURL(data); local 68 // Takes ownership of |template_url|. 69 template_url_service->Add(template_url); 70 template_url_service->SetUserSelectedDefaultSearchProvider(template_url); 91 TemplateURL* template_url = new TemplateURL(data); local 92 // Takes ownership of |template_url|. 93 template_url_service->Add(template_url); 94 template_url_service->SetUserSelectedDefaultSearchProvider(template_url); 512 TemplateURL* template_url = new TemplateURL(data); local 513 // Takes ownership of |template_url| [all...] |
/external/chromium_org/chrome/browser/search_engines/ |
H A D | chrome_template_url_service_client.cc | 69 TemplateURL* template_url) { 70 const TemplateURLData& data = template_url->data(); 74 template_url->set_extension_info(make_scoped_ptr( 68 RestoreExtensionInfoIfNecessary( TemplateURL* template_url) argument
|
H A D | chrome_template_url_service_client.h | 32 TemplateURL* template_url) OVERRIDE;
|
H A D | search_provider_install_data.cc | 20 #include "components/search_engines/template_url.h" 169 // It is ok if |template_url| is NULL. 171 TemplateURL* template_url, 174 DCHECK(template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION); 176 template_url->GenerateSearchURL(search_terms_data).GetOrigin(); 275 void SearchProviderInstallData::SetDefault(const TemplateURL* template_url) { argument 278 if (!template_url) { 283 DCHECK(template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION); 286 const GURL url(template_url->GenerateSearchURL(search_terms_data)); 170 IsSameOrigin(const GURL& requested_origin, TemplateURL* template_url, const SearchTermsData& search_terms_data) argument
|
H A D | search_provider_install_data.h | 73 void SetDefault(const TemplateURL* template_url);
|