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

Unified Diff: net/quic/core/crypto/crypto_handshake_message.cc

Issue 2651673004: Add quic_map_util. (Closed)
Patch Set: Created 3 years, 11 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/net.gypi ('k') | net/quic/core/crypto/quic_crypto_client_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/crypto_handshake_message.cc
diff --git a/net/quic/core/crypto/crypto_handshake_message.cc b/net/quic/core/crypto/crypto_handshake_message.cc
index fcaf59b5f6ff7d241e59e13946f78694d26bdb36..754aa2ee887294cdf06844da811ff610827ff6fa 100644
--- a/net/quic/core/crypto/crypto_handshake_message.cc
+++ b/net/quic/core/crypto/crypto_handshake_message.cc
@@ -6,16 +6,15 @@
#include <memory>
-#include "base/stl_util.h"
#include "base/strings/stringprintf.h"
#include "net/quic/core/crypto/crypto_framer.h"
#include "net/quic/core/crypto/crypto_protocol.h"
#include "net/quic/core/crypto/crypto_utils.h"
#include "net/quic/core/quic_socket_address_coder.h"
#include "net/quic/core/quic_utils.h"
+#include "net/quic/platform/api/quic_map_util.h"
#include "net/quic/platform/api/quic_text_utils.h"
-using base::ContainsKey;
using base::StringPiece;
using base::StringPrintf;
using std::string;
@@ -112,7 +111,7 @@ bool CryptoHandshakeMessage::GetStringPiece(QuicTag tag,
}
bool CryptoHandshakeMessage::HasStringPiece(QuicTag tag) const {
- return ContainsKey(tag_value_map_, tag);
+ return QuicContainsKey(tag_value_map_, tag);
}
QuicErrorCode CryptoHandshakeMessage::GetNthValue24(QuicTag tag,
« no previous file with comments | « net/net.gypi ('k') | net/quic/core/crypto/quic_crypto_client_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698