Index: net/quic/test_tools/simulator/quic_endpoint.cc |
diff --git a/net/quic/test_tools/simulator/quic_endpoint.cc b/net/quic/test_tools/simulator/quic_endpoint.cc |
index fd482305fbf48a7d4552c9ea86da8331e6a37d36..b70ceb68aeecfc831d3787f7d2f3943e668b90f0 100644 |
--- a/net/quic/test_tools/simulator/quic_endpoint.cc |
+++ b/net/quic/test_tools/simulator/quic_endpoint.cc |
@@ -9,6 +9,7 @@ |
#include "base/strings/stringprintf.h" |
#include "net/quic/core/crypto/crypto_handshake_message.h" |
#include "net/quic/core/crypto/crypto_protocol.h" |
+#include "net/quic/test_tools/quic_test_utils.h" |
#include "net/quic/test_tools/simulator/simulator.h" |
using base::StringPrintf; |
@@ -23,7 +24,7 @@ const char kStreamDataContents = 'Q'; |
// Takes a SHA-1 hash of the name and converts it into five 32-bit integers. |
static std::vector<uint32_t> HashNameIntoFive32BitIntegers(string name) { |
- const std::string hash = base::SHA1HashString(name); |
+ const string hash = test::Sha1Hash(name); |
std::vector<uint32_t> output; |
uint32_t current_number = 0; |