Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1125)

Unified Diff: net/tools/quic/test_tools/quic_client_peer.cc

Issue 366863002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/quic/quic_protocol.h ('K') | « net/tools/quic/test_tools/quic_client_peer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_client_peer.cc
diff --git a/net/tools/quic/test_tools/quic_client_peer.cc b/net/tools/quic/test_tools/quic_client_peer.cc
index 89f1c82650c6bf450f3cbd76a884b5f5efc9abe0..75a20eeadd257865a35a239e297a0599ef01525c 100644
--- a/net/tools/quic/test_tools/quic_client_peer.cc
+++ b/net/tools/quic/test_tools/quic_client_peer.cc
@@ -25,6 +25,11 @@ void QuicClientPeer::SetClientPort(QuicClient* client, int port) {
client->client_address_ = IPEndPoint(client->client_address_.address(), port);
}
+// static
+void QuicClientPeer::SetWriter(QuicClient* client, QuicPacketWriter* writer) {
+ client->writer_.reset(writer);
+}
+
} // namespace test
} // namespace tools
} // namespace net
« net/quic/quic_protocol.h ('K') | « net/tools/quic/test_tools/quic_client_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698