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

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

Issue 1297853002: QUIC - reorganize common code between quic_client and quic_simple_client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
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 75a20eeadd257865a35a239e297a0599ef01525c..26af191c86d484ceef2b55ba3f9d66ec4c87d650 100644
--- a/net/tools/quic/test_tools/quic_client_peer.cc
+++ b/net/tools/quic/test_tools/quic_client_peer.cc
@@ -11,11 +11,6 @@ namespace tools {
namespace test {
// static
-QuicCryptoClientConfig* QuicClientPeer::GetCryptoConfig(QuicClient* client) {
- return &client->crypto_config_;
-}
-
-// static
bool QuicClientPeer::CreateUDPSocket(QuicClient* client) {
return client->CreateUDPSocket();
}
@@ -25,11 +20,6 @@ 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

Powered by Google App Engine
This is Rietveld 408576698