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

Unified Diff: net/tools/quic/quic_dispatcher.h

Issue 1666843002: Refactor StringPiece hash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sort includes. Created 4 years, 10 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/spdy/spdy_header_block.h ('k') | net/tools/quic/spdy_balsa_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher.h
diff --git a/net/tools/quic/quic_dispatcher.h b/net/tools/quic/quic_dispatcher.h
index 5f25a362a46bf3465d07055576b1c260d957fd0c..1532de77eb15021d88020f817e3ca71cbc8bfd51 100644
--- a/net/tools/quic/quic_dispatcher.h
+++ b/net/tools/quic/quic_dispatcher.h
@@ -39,7 +39,10 @@ class QuicDispatcher : public QuicServerSessionVisitor,
public QuicFramerVisitorInterface {
public:
// Ideally we'd have a linked_hash_set: the boolean is unused.
- typedef linked_hash_map<QuicBlockedWriterInterface*, bool> WriteBlockedList;
+ typedef linked_hash_map<QuicBlockedWriterInterface*,
+ bool,
+ QuicBlockedWriterInterfacePtrHash>
+ WriteBlockedList;
// Due to the way delete_sessions_closure_ is registered, the Dispatcher must
// live until server Shutdown. |supported_versions| specifies the std::list
« no previous file with comments | « net/spdy/spdy_header_block.h ('k') | net/tools/quic/spdy_balsa_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698