Home | History | Annotate | Download | only in search_engines

Lines Matching defs:t_url

416     const TemplateURL* t_url,
439 if (t_url) {
440 DCHECK_EQ(TemplateURL::NORMAL, t_url->GetType());
442 search_url = t_url->url();
443 suggest_url = t_url->suggestions_url();
444 instant_url = t_url->instant_url();
445 image_url = t_url->image_url();
446 new_tab_url = t_url->new_tab_url();
447 search_url_post_params = t_url->search_url_post_params();
448 suggest_url_post_params = t_url->suggestions_url_post_params();
449 instant_url_post_params = t_url->instant_url_post_params();
450 image_url_post_params = t_url->image_url_post_params();
451 GURL icon_gurl = t_url->favicon_url();
454 encodings = JoinString(t_url->input_encodings(), ';');
455 short_name = base::UTF16ToUTF8(t_url->short_name());
456 keyword = base::UTF16ToUTF8(t_url->keyword());
457 id_string = base::Int64ToString(t_url->id());
458 prepopulate_id = base::Int64ToString(t_url->prepopulate_id());
459 for (size_t i = 0; i < t_url->alternate_urls().size(); ++i)
460 alternate_urls.AppendString(t_url->alternate_urls()[i]);
461 search_terms_replacement_key = t_url->search_terms_replacement_key();
1445 const TemplateURL* t_url,
1454 history->SetKeywordSearchTermsForURL(url, t_url->id(), term);
1601 bool HasValidID(TemplateURL* t_url) {
1602 return t_url->id() != kInvalidTemplateURLID;
1666 bool TemplateURLService::CanReplace(const TemplateURL* t_url) {
1667 return (t_url != default_search_provider_ && !t_url->show_in_default_list() &&
1668 t_url->safe_for_autoreplace());
1822 void TemplateURLService::AddTabToSearchVisit(const TemplateURL& t_url) {
1827 if (!t_url.safe_for_autoreplace())
1839 url_fixer::FixupURL(base::UTF16ToUTF8(t_url.keyword()), std::string()));
1856 TemplateURL* t_url = *i;
1857 if (t_url->HasGoogleBaseURLs(search_terms_data())) {
1858 TemplateURL updated_turl(t_url->data());
1863 (existing_entry->second != t_url)) {
1865 // Overwrite it if it's replaceable; otherwise, leave |t_url| using its
1866 // current keyword. (This will not prevent |t_url| from auto-updating
1868 // Note that we must still update |t_url| in this case, or the
1873 updated_turl.data_.SetKeyword(t_url->keyword());
1879 UpdateNoNotify(t_url, updated_turl,