| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SERVER_PEER_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ |
| 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ |
| 7 | 7 |
| 8 namespace net { | 8 namespace net { |
| 9 | 9 |
| 10 namespace tools { | 10 namespace tools { |
| 11 | 11 |
| 12 class QuicDispatcher; | 12 class QuicDispatcher; |
| 13 class QuicServer; | 13 class QuicServer; |
| 14 | 14 |
| 15 namespace test { | 15 namespace test { |
| 16 | 16 |
| 17 class QuicServerPeer { | 17 class QuicServerPeer { |
| 18 public: | 18 public: |
| 19 static bool SetSmallSocket(QuicServer* server); | 19 static bool SetSmallSocket(QuicServer* server); |
| 20 static void DisableRecvmmsg(QuicServer* server); | 20 static void DisableRecvmmsg(QuicServer* server); |
| 21 static QuicDispatcher* GetDispatcher(QuicServer* server); | 21 static QuicDispatcher* GetDispatcher(QuicServer* server); |
| 22 static int GetFD(QuicServer* server); | |
| 23 }; | 22 }; |
| 24 | 23 |
| 25 } // namespace test | 24 } // namespace test |
| 26 } // namespace tools | 25 } // namespace tools |
| 27 } // namespace net | 26 } // namespace net |
| 28 | 27 |
| 29 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ | 28 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ |
| OLD | NEW |