Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / net / tools / quic / test_tools / quic_server_peer.h
blobf5f625db74fe355cead759850f0542345accf4b6
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;
17 namespace test {
19 class QuicServerPeer {
20 public:
21 static bool SetSmallSocket(QuicServer* server);
22 static void DisableRecvmmsg(QuicServer* server);
23 static QuicDispatcher* GetDispatcher(QuicServer* server);
25 private:
26 DISALLOW_COPY_AND_ASSIGN(QuicServerPeer);
29 } // namespace test
30 } // namespace tools
31 } // namespace net
33 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_