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

Unified Diff: net/url_request/url_request_filter.h

Issue 1897033002: Reland 'Convert //net and //chromecast to std::unordered_*' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix TestDownloadRequestHandler Created 4 years, 8 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
« no previous file with comments | « net/tools/quic/test_tools/mock_epoll_server.h ('k') | net/url_request/url_request_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_filter.h
diff --git a/net/url_request/url_request_filter.h b/net/url_request/url_request_filter.h
index ff702751467441c4f1d751ed4d29c4f6d5e37e65..29b08f2ea8eebb6f1029f0b956b3920d860d5110 100644
--- a/net/url_request/url_request_filter.h
+++ b/net/url_request/url_request_filter.h
@@ -7,9 +7,8 @@
#include <map>
#include <memory>
#include <string>
+#include <unordered_map>
-#include "base/containers/hash_tables.h"
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/macros.h"
#include "net/base/net_export.h"
#include "net/url_request/url_request_interceptor.h"
@@ -77,8 +76,7 @@ class NET_EXPORT URLRequestFilter : public URLRequestInterceptor {
std::unique_ptr<URLRequestInterceptor>>;
// URL -> URLRequestInterceptor
using URLInterceptorMap =
- base::ScopedPtrHashMap<std::string,
- std::unique_ptr<URLRequestInterceptor>>;
+ std::unordered_map<std::string, std::unique_ptr<URLRequestInterceptor>>;
URLRequestFilter();
~URLRequestFilter() override;
« no previous file with comments | « net/tools/quic/test_tools/mock_epoll_server.h ('k') | net/url_request/url_request_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698