Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / net / tools / quic / test_tools / quic_server_peer.h
bloba9d4f56d51251b8eb511c62e040777dac67fade6
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
3 // found in the LICENSE file.
5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
8 #include "base/basictypes.h"
10 namespace net {
12 namespace tools {
14 class QuicDispatcher;
15 class QuicServer;
16 class QuicPacketReader;
18 namespace test {
20 class QuicServerPeer {
21 public:
22 static bool SetSmallSocket(QuicServer* server);
23 static void DisableRecvmmsg(QuicServer* server);
24 static QuicDispatcher* GetDispatcher(QuicServer* server);
25 static void SetReader(QuicServer* server, QuicPacketReader* reader);
27 private:
28 DISALLOW_COPY_AND_ASSIGN(QuicServerPeer);
31 } // namespace test
32 } // namespace tools
33 } // namespace net
35 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_