Index: net/quic/test_tools/quic_connection_peer.h |
diff --git a/net/quic/test_tools/quic_connection_peer.h b/net/quic/test_tools/quic_connection_peer.h |
index 0cc6fbbdda2a808a4b005dd9378e96f53f34b0d5..11d481467c952b8cad5db56fea39b0f30e838142 100644 |
--- a/net/quic/test_tools/quic_connection_peer.h |
+++ b/net/quic/test_tools/quic_connection_peer.h |
@@ -106,7 +106,10 @@ class QuicConnectionPeer { |
static QuicAlarm* GetTimeoutAlarm(QuicConnection* connection); |
static QuicPacketWriter* GetWriter(QuicConnection* connection); |
- static void SetWriter(QuicConnection* connection, QuicPacketWriter* writer); |
+ // If |owns_writer| is true, takes ownership of |writer|. |
+ static void SetWriter(QuicConnection* connection, |
+ QuicPacketWriter* writer, |
+ bool owns_writer); |
static void CloseConnection(QuicConnection* connection); |
static QuicEncryptedPacket* GetConnectionClosePacket( |
QuicConnection* connection); |