| 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..559b28784a9019767317de2ea28f4e31b9f39031 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(template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION);
|
|
|
| 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(template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION);
|
|
|
| for (HostToURLsMap::iterator i = host_to_urls_map_.begin();
|
| i != host_to_urls_map_.end(); ++i) {
|
|
|