Lines Matching refs:template_url_service_
132 template_url_service_(TemplateURLServiceFactory::GetForProfile(profile_)),
135 if (template_url_service_) {
136 template_url_service_->AddObserver(this);
156 if (template_url_service_)
157 template_url_service_->RemoveObserver(this);
178 DCHECK(template_url_service_);
179 template_url_service_->Load(); // Safe to call even if it has loaded already.
230 DCHECK(template_url_service_);
231 DCHECK(template_url_service_->loaded());
234 template_url_service_->GetDefaultSearchProvider();
247 DCHECK(template_url_service_);
248 DCHECK(template_url_service_->loaded());
249 return template_url_service_->is_default_search_managed();
313 DCHECK(template_url_service_);
314 if (template_url_service_->loaded() &&