Index: net/quic/test_tools/quic_test_utils.cc |
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc |
index a95af0d925023ee3835ac24e009949a6e8ff584d..b7306f90ab09a3caf8e74756dfe5a7d53f5c7932 100644 |
--- a/net/quic/test_tools/quic_test_utils.cc |
+++ b/net/quic/test_tools/quic_test_utils.cc |
@@ -727,18 +727,6 @@ void CompareCharArraysWithHexError(const string& description, |
<< HexDumpWithMarks(actual, actual_len, marks.get(), max_len); |
} |
-bool DecodeHexString(const base::StringPiece& hex, std::string* bytes) { |
- bytes->clear(); |
- if (hex.empty()) |
- return true; |
- std::vector<uint8_t> v; |
- if (!base::HexStringToBytes(hex.as_string(), &v)) |
- return false; |
- if (!v.empty()) |
- bytes->assign(reinterpret_cast<const char*>(&v[0]), v.size()); |
- return true; |
-} |
- |
static QuicPacket* ConstructPacketFromHandshakeMessage( |
QuicConnectionId connection_id, |
const CryptoHandshakeMessage& message, |