| 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 e309b0749e363255093c649609bce62fa7100e46..1db68aa803e0d07ac9ade8d7822a910c32922577 100644
|
| --- a/components/search_engines/search_host_to_urls_map.cc
|
| +++ b/components/search_engines/search_host_to_urls_map.cc
|
| @@ -26,6 +26,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());
|
|
|
| const GURL url(template_url->GenerateSearchURL(search_terms_data));
|
| if (!url.is_valid() || !url.has_host())
|
| @@ -37,6 +38,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());
|
|
|
| for (HostToURLsMap::iterator i = host_to_urls_map_.begin();
|
| i != host_to_urls_map_.end(); ++i) {
|
|
|