Land Recent QUIC Changes.
[chromium-blink-merge.git] / net / tools / quic / test_tools / quic_client_peer.cc
blob188939c64192e697e9399c395577fffad5d26a33
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"
9 namespace net {
10 namespace tools {
11 namespace test {
13 // static
14 int QuicClientPeer::GetFd(QuicClient* client) {
15 return client->fd_;
18 // static
19 QuicCryptoClientConfig* QuicClientPeer::GetCryptoConfig(QuicClient* client) {
20 return &client->crypto_config_;
23 } // namespace test
24 } // namespace tools
25 } // namespace net