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

Unified Diff: components/search_engines/search_host_to_urls_map.h

Issue 2290503003: Remove use of stl_util in search_engines. (Closed)
Patch Set: fix broken test 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.h
diff --git a/components/search_engines/search_host_to_urls_map.h b/components/search_engines/search_host_to_urls_map.h
index 0235ce555b2a019a1a0d260927e1bfcf2a03f756..2f46625f7bf498e9b66293f51888a5b46985b989 100644
--- a/components/search_engines/search_host_to_urls_map.h
+++ b/components/search_engines/search_host_to_urls_map.h
@@ -23,7 +23,7 @@ class SearchHostToURLsMap {
~SearchHostToURLsMap();
// Initializes the map.
- void Init(const TemplateURLService::TemplateURLVector& template_urls,
+ void Init(const TemplateURLService::OwnedTemplateURLVector& template_urls,
const SearchTermsData& search_terms_data);
// Adds a new TemplateURL to the map. Since |template_url| is owned
@@ -48,7 +48,7 @@ class SearchHostToURLsMap {
typedef std::map<std::string, TemplateURLSet> HostToURLsMap;
// Adds many URLs to the map.
- void Add(const TemplateURLService::TemplateURLVector& template_urls,
+ void Add(const TemplateURLService::OwnedTemplateURLVector& template_urls,
const SearchTermsData& search_terms_data);
// Maps from host to set of TemplateURLs whose search url host is host.

Powered by Google App Engine
This is Rietveld 408576698