| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_CLIENT_PEER_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_CLIENT_PEER_H_ |
| 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_CLIENT_PEER_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_CLIENT_PEER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 8 namespace net { | 10 namespace net { |
| 9 | 11 |
| 10 class QuicCryptoClientConfig; | 12 class QuicCryptoClientConfig; |
| 11 | 13 |
| 12 namespace tools { | 14 namespace tools { |
| 13 | 15 |
| 14 class QuicClient; | 16 class QuicClient; |
| 15 | 17 |
| 16 namespace test { | 18 namespace test { |
| 17 | 19 |
| 18 class QuicClientPeer { | 20 class QuicClientPeer { |
| 19 public: | 21 public: |
| 20 static int GetFd(QuicClient* client); | 22 static int GetFd(QuicClient* client); |
| 21 static QuicCryptoClientConfig* GetCryptoConfig(QuicClient* client); | 23 static QuicCryptoClientConfig* GetCryptoConfig(QuicClient* client); |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(QuicClientPeer); |
| 22 }; | 27 }; |
| 23 | 28 |
| 24 } // namespace test | 29 } // namespace test |
| 25 } // namespace tools | 30 } // namespace tools |
| 26 } // namespace net | 31 } // namespace net |
| 27 | 32 |
| 28 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_CLIENT_PEER_H_ | 33 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_CLIENT_PEER_H_ |
| OLD | NEW |