Home | History | Annotate | Download | only in test_tools
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_
      6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_
      7 
      8 #include "net/quic/quic_protocol.h"
      9 
     10 namespace net {
     11 class QuicPacketCreator;
     12 
     13 namespace test {
     14 
     15 class QuicPacketCreatorPeer {
     16  public:
     17   static bool SendVersionInPacket(QuicPacketCreator* creator);
     18 
     19   static void SetSendVersionInPacket(QuicPacketCreator* creator,
     20                                      bool send_version_in_packet);
     21 
     22   static void SetIsServer(QuicPacketCreator* creator, bool is_server);
     23 
     24  private:
     25   DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer);
     26 };
     27 
     28 }  // namespace test
     29 
     30 }  // namespace net
     31 
     32 #endif  // NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_
     33