| Index: net/quic/quic_session.h
|
| diff --git a/net/quic/quic_session.h b/net/quic/quic_session.h
|
| index 0201d4396cd6cdc767ab8b4a5ef50ae2b41122d3..007d4357bee371becf934d480fa991763ca30f66 100644
|
| --- a/net/quic/quic_session.h
|
| +++ b/net/quic/quic_session.h
|
| @@ -11,6 +11,8 @@
|
|
|
| #include <map>
|
| #include <string>
|
| +#include <unordered_map>
|
| +#include <unordered_set>
|
| #include <vector>
|
|
|
| #include "base/compiler_specific.h"
|
| @@ -225,7 +227,7 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
|
| bool ShouldYield(QuicStreamId stream_id);
|
|
|
| protected:
|
| - typedef base::hash_map<QuicStreamId, ReliableQuicStream*> StreamMap;
|
| + typedef std::unordered_map<QuicStreamId, ReliableQuicStream*> StreamMap;
|
|
|
| // Creates a new stream, owned by the caller, to handle a peer-initiated
|
| // stream. Returns nullptr and does error handling if the stream can not be
|
| @@ -373,12 +375,12 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
|
|
|
| // Set of stream ids that are less than the largest stream id that has been
|
| // received, but are nonetheless available to be created.
|
| - base::hash_set<QuicStreamId> available_streams_;
|
| + std::unordered_set<QuicStreamId> available_streams_;
|
|
|
| // Set of stream ids that are "draining" -- a FIN has been sent and received,
|
| // but the stream object still exists because not all the received data has
|
| // been consumed.
|
| - base::hash_set<QuicStreamId> draining_streams_;
|
| + std::unordered_set<QuicStreamId> draining_streams_;
|
|
|
| // A list of streams which need to write more data.
|
| QuicWriteBlockedList write_blocked_streams_;
|
|
|