| Index: net/quic/test_tools/quic_connection_peer.cc
|
| diff --git a/net/quic/test_tools/quic_connection_peer.cc b/net/quic/test_tools/quic_connection_peer.cc
|
| index 30c75ae07128c6a8bab124cfe5190d17bbd421ae..83b388459296b1c00645f83c5ea864834d619762 100644
|
| --- a/net/quic/test_tools/quic_connection_peer.cc
|
| +++ b/net/quic/test_tools/quic_connection_peer.cc
|
| @@ -115,17 +115,6 @@ QuicPacketEntropyHash QuicConnectionPeer::ReceivedEntropyHash(
|
| }
|
|
|
| // static
|
| -bool QuicConnectionPeer::IsWriteBlocked(QuicConnection* connection) {
|
| - return connection->write_blocked_;
|
| -}
|
| -
|
| -// static
|
| -void QuicConnectionPeer::SetIsWriteBlocked(QuicConnection* connection,
|
| - bool write_blocked) {
|
| - connection->write_blocked_ = write_blocked;
|
| -}
|
| -
|
| -// static
|
| bool QuicConnectionPeer::IsServer(QuicConnection* connection) {
|
| return connection->is_server_;
|
| }
|
| @@ -215,5 +204,11 @@ void QuicConnectionPeer::CloseConnection(QuicConnection* connection) {
|
| connection->connected_ = false;
|
| }
|
|
|
| +// static
|
| +QuicEncryptedPacket* QuicConnectionPeer::GetConnectionClosePacket(
|
| + QuicConnection* connection) {
|
| + return connection->connection_close_packet_.get();
|
| +}
|
| +
|
| } // namespace test
|
| } // namespace net
|
|
|