Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: components/search_engines/search_host_to_urls_map.cc

Issue 2347973002: Enable Chrome to tweak search engines for some locales (Closed)
Patch Set: compile Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/search_engines/search_host_to_urls_map.cc
diff --git a/components/search_engines/search_host_to_urls_map.cc b/components/search_engines/search_host_to_urls_map.cc
index 2fed951c97d3788dd31ada9b1d623214d0faa155..62c2e5e2fb2cec49e5631bcaf54976dad7e444b2 100644
--- a/components/search_engines/search_host_to_urls_map.cc
+++ b/components/search_engines/search_host_to_urls_map.cc
@@ -27,7 +27,7 @@ void SearchHostToURLsMap::Add(TemplateURL* template_url,
const SearchTermsData& search_terms_data) {
DCHECK(initialized_);
DCHECK(template_url);
- DCHECK_NE(TemplateURL::OMNIBOX_API_EXTENSION, template_url->GetType());
+ DCHECK_NE(TemplateURL::OMNIBOX_API_EXTENSION, template_url->type());
const GURL url(template_url->GenerateSearchURL(search_terms_data));
if (!url.is_valid() || !url.has_host())
@@ -39,7 +39,7 @@ void SearchHostToURLsMap::Add(TemplateURL* template_url,
void SearchHostToURLsMap::Remove(TemplateURL* template_url) {
DCHECK(initialized_);
DCHECK(template_url);
- DCHECK_NE(TemplateURL::OMNIBOX_API_EXTENSION, template_url->GetType());
+ DCHECK_NE(TemplateURL::OMNIBOX_API_EXTENSION, template_url->type());
for (HostToURLsMap::iterator i = host_to_urls_map_.begin();
i != host_to_urls_map_.end(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698