diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-07-14 17:41:05 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-08-04 12:37:36 +0000 |
commit | 399c965b6064c440ddcf4015f5f8e9d131c7a0a6 (patch) | |
tree | 6b06b60ff365abef0e13b3503d593a0df48d20e8 /chromium/net/tools/quic/test_tools/quic_client_peer.cc | |
parent | 7366110654eec46f21b6824f302356426f48cd74 (diff) | |
download | qtwebengine-chromium-399c965b6064c440ddcf4015f5f8e9d131c7a0a6.tar.gz |
BASELINE: Update Chromium to 52.0.2743.76 and Ninja to 1.7.1
Change-Id: I382f51b959689505a60f8b707255ecb344f7d8b4
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/net/tools/quic/test_tools/quic_client_peer.cc')
-rw-r--r-- | chromium/net/tools/quic/test_tools/quic_client_peer.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/net/tools/quic/test_tools/quic_client_peer.cc b/chromium/net/tools/quic/test_tools/quic_client_peer.cc index 71d3520f9d7..961cc823e2d 100644 --- a/chromium/net/tools/quic/test_tools/quic_client_peer.cc +++ b/chromium/net/tools/quic/test_tools/quic_client_peer.cc @@ -10,6 +10,11 @@ namespace net { namespace test { // static +QuicCryptoClientConfig* QuicClientPeer::GetCryptoConfig(QuicClient* client) { + return client->crypto_config(); +} + +// static bool QuicClientPeer::CreateUDPSocketAndBind(QuicClient* client) { return client->CreateUDPSocketAndBind(); } @@ -25,5 +30,10 @@ void QuicClientPeer::SetClientPort(QuicClient* client, int port) { IPEndPoint(client->GetLatestClientAddress().address(), port); } +// static +void QuicClientPeer::SetWriter(QuicClient* client, QuicPacketWriter* writer) { + client->set_writer(writer); +} + } // namespace test } // namespace net |