Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: trunk/src/net/quic/test_tools/quic_session_peer.h

Issue 16374004: Revert 204046 "Land Recent QUIC changes." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
7 7
8 #include "net/quic/blocked_list.h"
9 #include "net/quic/quic_protocol.h" 8 #include "net/quic/quic_protocol.h"
10 9
11 namespace net { 10 namespace net {
12 11
13 class QuicSession; 12 class QuicSession;
14 class ReliableQuicStream;
15 13
16 namespace test { 14 namespace test {
17 15
18 class QuicSessionPeer { 16 class QuicSessionPeer {
19 public: 17 public:
20 static void SetNextStreamId(QuicSession* session, QuicStreamId id); 18 static void SetNextStreamId(QuicSession* session, QuicStreamId id);
21 static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams); 19 static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams);
22 static ReliableQuicStream* CreateIncomingReliableStream(QuicSession* session,
23 QuicStreamId id);
24 static BlockedList<QuicStreamId>* GetWriteblockedStreams(
25 QuicSession* session);
26 20
27 private: 21 private:
28 DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer); 22 DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer);
29 }; 23 };
30 24
31 } // namespace test 25 } // namespace test
32 } // namespace net 26 } // namespace net
33 27
34 #endif // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ 28 #endif // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « trunk/src/net/quic/test_tools/quic_framer_peer.cc ('k') | trunk/src/net/quic/test_tools/quic_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698