Home | History | Annotate | Download | only in test_tools
      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.
      4 
      5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
      6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
      7 
      8 #include "base/basictypes.h"
      9 
     10 namespace net {
     11 
     12 namespace tools {
     13 
     14 class QuicDispatcher;
     15 class QuicServer;
     16 
     17 namespace test {
     18 
     19 class QuicServerPeer {
     20  public:
     21   static bool SetSmallSocket(QuicServer* server);
     22   static void DisableRecvmmsg(QuicServer* server);
     23   static QuicDispatcher* GetDispatcher(QuicServer* server);
     24 
     25  private:
     26   DISALLOW_COPY_AND_ASSIGN(QuicServerPeer);
     27 };
     28 
     29 }  // namespace test
     30 }  // namespace tools
     31 }  // namespace net
     32 
     33 #endif  // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
     34