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 74c978f8ca4051813581fc7f465f666ca16ddab1..fcaf59b5f6ff7d241e59e13946f78694d26bdb36 100644 |
--- a/net/quic/core/crypto/crypto_handshake_message.cc |
+++ b/net/quic/core/crypto/crypto_handshake_message.cc |
@@ -7,13 +7,13 @@ |
#include <memory> |
#include "base/stl_util.h" |
-#include "base/strings/string_number_conversions.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_text_utils.h" |
using base::ContainsKey; |
using base::StringPiece; |
@@ -234,7 +234,7 @@ string CryptoHandshakeMessage::DebugStringInternal(size_t indent) const { |
if (it->second.size() == 4) { |
uint32_t value; |
memcpy(&value, it->second.data(), sizeof(value)); |
- ret += base::UintToString(value); |
+ ret += QuicTextUtils::Uint64ToString(value); |
done = true; |
} |
break; |
@@ -243,7 +243,7 @@ string CryptoHandshakeMessage::DebugStringInternal(size_t indent) const { |
if (it->second.size() == 8) { |
uint64_t value; |
memcpy(&value, it->second.data(), sizeof(value)); |
- ret += base::Uint64ToString(value); |
+ ret += QuicTextUtils::Uint64ToString(value); |
done = true; |
} |
break; |
@@ -319,7 +319,7 @@ string CryptoHandshakeMessage::DebugStringInternal(size_t indent) const { |
if (!done) { |
// If there's no specific format for this tag, or the value is invalid, |
// then just use hex. |
- ret += "0x" + QuicUtils::HexEncode(it->second); |
+ ret += "0x" + QuicTextUtils::HexEncode(it->second); |
} |
ret += "\n"; |
} |