gn /
gn /
6db6c8ff51f5f1cef94e2b8e2891fc52c1a34f94 Refactor StringPiece hash.
Rename struct BASE_HASH_NAMESPACE::hash<base::StringPiece> to struct
base::StringPieceHash, and modify existing code as necessary. This is motivated
by https://crrev.com/1660273002/#msg6.
* Remove #include "base/containers/hash_tables.h" where not used any more.
* Add this include for hash_map where necessary (string_piece.h does not include
it any longer, so this might be necessary for the code to compile).
* Change net::linked_hash_map from base::hash_map to std::unordered_map and add
Hash template parameter. This way BASE_HASH_NAMESPACE::hash<Key> will not be
implicitly used any more, so move QuicBlockedWriterInterfacePtrHash out of
that namespace.
BUG=576864
Review URL: https://codereview.chromium.org/1666843002
Cr-Original-Commit-Position: refs/heads/master@{#374005}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 63c013002ffbbb4c7eac172097e16ea907403e08
1 file changed
tree: c8d840717df38f7888dfc4d63f705d16a15aae06
- tools/