Home | History | Annotate | Download | only in search_engines

Lines Matching defs:template_url

11 #include "chrome/browser/search_engines/template_url.h"
39 TemplateURL* template_url = new TemplateURL();
40 template_url->set_short_name(title);
41 template_url->set_keyword(keyword);
42 template_url->SetURL(url, 0, 0);
50 table_model_->Add(new_index, template_url);
55 void KeywordEditorController::ModifyTemplateURL(const TemplateURL* template_url,
59 const int index = table_model_->IndexOfTemplateURL(template_url);
67 if (template_url->short_name() == title &&
68 template_url->keyword() == keyword &&
69 ((url.empty() && !template_url->url()) ||
70 (!url.empty() && template_url->url() &&
71 template_url->url()->url() == url))) {