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

Unified Diff: components/search_engines/template_url_fetcher.h

Issue 2307663002: Remove ScopedVector from search_engines. (Closed)
Patch Set: devlin 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/template_url_fetcher.h
diff --git a/components/search_engines/template_url_fetcher.h b/components/search_engines/template_url_fetcher.h
index f229a4ea0b222fd1c71dcff3aab230fa4fdb4302..c2c05ed4bd57168c5d7a16a33cc42890310200c7 100644
--- a/components/search_engines/template_url_fetcher.h
+++ b/components/search_engines/template_url_fetcher.h
@@ -68,13 +68,11 @@ class TemplateURLFetcher : public KeyedService {
private:
friend class RequestDelegate;
- typedef ScopedVector<RequestDelegate> Requests;
-
TemplateURLService* template_url_service_;
scoped_refptr<net::URLRequestContextGetter> request_context_;
// In progress requests.
- Requests requests_;
+ std::vector<std::unique_ptr<RequestDelegate>> requests_;
DISALLOW_COPY_AND_ASSIGN(TemplateURLFetcher);
};

Powered by Google App Engine
This is Rietveld 408576698