Lines Matching refs:t_url

377     const TemplateURL* t_url,
400 if (t_url) {
401 DCHECK_EQ(TemplateURL::NORMAL, t_url->GetType());
403 search_url = t_url->url();
404 suggest_url = t_url->suggestions_url();
405 instant_url = t_url->instant_url();
406 image_url = t_url->image_url();
407 new_tab_url = t_url->new_tab_url();
408 search_url_post_params = t_url->search_url_post_params();
409 suggest_url_post_params = t_url->suggestions_url_post_params();
410 instant_url_post_params = t_url->instant_url_post_params();
411 image_url_post_params = t_url->image_url_post_params();
412 GURL icon_gurl = t_url->favicon_url();
415 encodings = JoinString(t_url->input_encodings(), ';');
416 short_name = base::UTF16ToUTF8(t_url->short_name());
417 keyword = base::UTF16ToUTF8(t_url->keyword());
418 id_string = base::Int64ToString(t_url->id());
419 prepopulate_id = base::Int64ToString(t_url->prepopulate_id());
420 for (size_t i = 0; i < t_url->alternate_urls().size(); ++i)
421 alternate_urls.AppendString(t_url->alternate_urls()[i]);
422 search_terms_replacement_key = t_url->search_terms_replacement_key();
1536 bool HasValidID(TemplateURL* t_url) {
1537 return t_url->id() != kInvalidTemplateURLID;
1600 bool TemplateURLService::CanReplace(const TemplateURL* t_url) {
1601 return (t_url != default_search_provider_ && !t_url->show_in_default_list() &&
1602 t_url->safe_for_autoreplace());
1750 void TemplateURLService::AddTabToSearchVisit(const TemplateURL& t_url) {
1755 if (!t_url.safe_for_autoreplace())
1762 url_fixer::FixupURL(base::UTF16ToUTF8(t_url.keyword()), std::string()));
1786 TemplateURL* t_url = *i;
1787 if (t_url->HasGoogleBaseURLs(search_terms_data())) {
1788 TemplateURL updated_turl(t_url->data());
1793 (existing_entry->second != t_url)) {
1795 // Overwrite it if it's replaceable; otherwise, leave |t_url| using its
1796 // current keyword. (This will not prevent |t_url| from auto-updating
1798 // Note that we must still update |t_url| in this case, or the
1803 updated_turl.data_.SetKeyword(t_url->keyword());
1809 UpdateNoNotify(t_url, updated_turl);