Searched refs:template_url (Results 1 - 25 of 81) sorted by path

1234

/external/chromium_org/athena/main/
H A Durl_search_provider.cc60 TemplateURL* template_url) OVERRIDE {}
/external/chromium_org/chrome/browser/android/
H A Dlogo_service.cc129 TemplateURL* template_url = template_url_service->GetDefaultSearchProvider();
130 if (!template_url || !template_url->url_ref().HasGoogleBaseURLs(
/external/chromium_org/chrome/browser/autocomplete/
H A Dautocomplete_controller.cc28 #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 Dautocomplete_provider_unittest.cc28 #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 Dhistory_quick_provider.cc37 #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 Dhistory_quick_provider_unittest.cc40 #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 Dhistory_url_provider_unittest.cc32 #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 Dkeyword_extensions_delegate_impl.cc65 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 Dkeyword_extensions_delegate_impl.h40 const TemplateURL* template_url,
H A Dshortcuts_backend_unittest.cc106 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 Dchrome_content_browser_client_unittest.cc112 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 Dfirst_run.cc799 TemplateURLService* template_url = local
801 if (template_url && template_url->GetDefaultSearchProvider())
/external/chromium_org/chrome/browser/importer/
H A Die_importer_browsertest_win.cc46 #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 Din_process_importer_bridge.cc19 #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 Dautomatic_profile_resetter_delegate.cc43 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 Dinstant_service.cc395 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 Dinstant_service_unittest.cc132 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 Dinstant_unittest_base.cc23 #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 Dsearch.cc153 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 Dsearch_terms_tracker.cc9 #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 Dsearch_unittest.cc67 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 Dchrome_template_url_service_client.cc69 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 Dchrome_template_url_service_client.h32 TemplateURL* template_url) OVERRIDE;
H A Dsearch_provider_install_data.cc20 #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 Dsearch_provider_install_data.h73 void SetDefault(const TemplateURL* template_url);

Completed in 3025 milliseconds

1234