Home | History | Annotate | Download | only in test_tools
      1 // Copyright (c) 2012 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_SESSION_PEER_H_
      6 #define NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
      7 
      8 #include "net/quic/quic_protocol.h"
      9 #include "net/spdy/write_blocked_list.h"
     10 
     11 namespace net {
     12 
     13 class QuicSession;
     14 class ReliableQuicStream;
     15 
     16 namespace test {
     17 
     18 class QuicSessionPeer {
     19  public:
     20   static void SetNextStreamId(QuicSession* session, QuicStreamId id);
     21   static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams);
     22   static WriteBlockedList<QuicStreamId>* GetWriteblockedStreams(
     23       QuicSession* session);
     24 
     25  private:
     26   DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer);
     27 };
     28 
     29 }  // namespace test
     30 }  // namespace net
     31 
     32 #endif  // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
     33