| Index: net/tools/quic/test_tools/quic_test_utils.h
|
| diff --git a/net/tools/quic/test_tools/quic_test_utils.h b/net/tools/quic/test_tools/quic_test_utils.h
|
| index 44dbd2bdf87c133c57e543752b067afde46b74ec..2ff8c848233286aa483591635b77d6dbad708c95 100644
|
| --- a/net/tools/quic/test_tools/quic_test_utils.h
|
| +++ b/net/tools/quic/test_tools/quic_test_utils.h
|
| @@ -34,25 +34,6 @@ static const uint32 kInitialFlowControlWindowForTest = 32 * 1024; // 32 KB
|
| QuicAckFrame MakeAckFrameWithNackRanges(size_t num_nack_ranges,
|
| QuicPacketSequenceNumber least_unacked);
|
|
|
| -// 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
|
| -// the next random number, and the next seed.
|
| -class SimpleRandom {
|
| - public:
|
| - SimpleRandom() : seed_(0) {}
|
| -
|
| - // Returns a random number in the range [0, kuint64max].
|
| - uint64 RandUint64();
|
| -
|
| - void set_seed(uint64 seed) { seed_ = seed; }
|
| -
|
| - private:
|
| - uint64 seed_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(SimpleRandom);
|
| -};
|
| -
|
| class MockConnection : public QuicConnection {
|
| public:
|
| // Uses a MockHelper, ConnectionId of 42, and 127.0.0.1:123.
|
|
|