| Index: net/quic/test_tools/quic_test_utils.h
|
| diff --git a/net/quic/test_tools/quic_test_utils.h b/net/quic/test_tools/quic_test_utils.h
|
| index a53d2fbe55c9e1c22cecb7dd5614f3c8acf7231f..6c046d08b20119e50ddd5f5ef60896287481a55d 100644
|
| --- a/net/quic/test_tools/quic_test_utils.h
|
| +++ b/net/quic/test_tools/quic_test_utils.h
|
| @@ -190,6 +190,10 @@ class QuicFlagSaver {
|
| // Compute SHA-1 hash of the supplied std::string.
|
| std::string Sha1Hash(QuicStringPiece data);
|
|
|
| +// Given endpoint in memory |connection_id|, returns peer's in memory connection
|
| +// id.
|
| +QuicConnectionId GetPeerInMemoryConnectionId(QuicConnectionId connection_id);
|
| +
|
| // Simple random number generator used to compute random numbers suitable
|
| // for pseudo-randomly dropping packets in tests. It works by computing
|
| // the sha1 hash of the current seed, and using the first 64 bits as
|
|
|