1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "net/tools/quic/test_tools/quic_client_peer.h"
7 #include "net/tools/quic/quic_client.h"
14 bool QuicClientPeer::CreateUDPSocket(QuicClient
* client
) {
15 return client
->CreateUDPSocket();
19 void QuicClientPeer::SetClientPort(QuicClient
* client
, int port
) {
20 client
->client_address_
= IPEndPoint(client
->client_address_
.address(), port
);