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

Unified Diff: net/http/http_response_headers.h

Issue 1869503003: Convert //net and //chromecast to std::unordered_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cast 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
Index: net/http/http_response_headers.h
diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h
index a3126aa72d76c45fa1bc9e69fdec9bab0bf72470..4d2bcc06464d56da3326d90ea18354741dfb46fd 100644
--- a/net/http/http_response_headers.h
+++ b/net/http/http_response_headers.h
@@ -9,9 +9,9 @@
#include <stdint.h>
#include <string>
+#include <unordered_set>
#include <vector>
-#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string_piece.h"
@@ -323,7 +323,7 @@ class NET_EXPORT HttpResponseHeaders
private:
friend class base::RefCountedThreadSafe<HttpResponseHeaders>;
- typedef base::hash_set<std::string> HeaderSet;
+ using HeaderSet = std::unordered_set<std::string>;
// The members of this structure point into raw_headers_.
struct ParsedHeader;

Powered by Google App Engine
This is Rietveld 408576698