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

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

Issue 447093002: QUIC: don't keep around state for streams created by a request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@socket_receive_buffer_to_256K_72338299
Patch Set: Created 6 years, 4 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
« no previous file with comments | « net/quic/reliable_quic_stream.cc ('k') | net/quic/test_tools/quic_session_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/quic_protocol.h" 8 #include "net/quic/quic_protocol.h"
9 #include "net/quic/quic_write_blocked_list.h" 9 #include "net/quic/quic_write_blocked_list.h"
10 10
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 static void SetNextStreamId(QuicSession* session, QuicStreamId id); 22 static void SetNextStreamId(QuicSession* session, QuicStreamId id);
23 static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams); 23 static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams);
24 static QuicCryptoStream* GetCryptoStream(QuicSession* session); 24 static QuicCryptoStream* GetCryptoStream(QuicSession* session);
25 static QuicHeadersStream* GetHeadersStream(QuicSession* session); 25 static QuicHeadersStream* GetHeadersStream(QuicSession* session);
26 static void SetHeadersStream(QuicSession* session, 26 static void SetHeadersStream(QuicSession* session,
27 QuicHeadersStream* headers_stream); 27 QuicHeadersStream* headers_stream);
28 static QuicWriteBlockedList* GetWriteBlockedStreams(QuicSession* session); 28 static QuicWriteBlockedList* GetWriteBlockedStreams(QuicSession* session);
29 static QuicDataStream* GetIncomingDataStream(QuicSession* session, 29 static QuicDataStream* GetIncomingDataStream(QuicSession* session,
30 QuicStreamId stream_id); 30 QuicStreamId stream_id);
31 static std::map<QuicStreamId, QuicStreamOffset>&
32 GetLocallyClosedStreamsHighestOffset(QuicSession* session);
31 33
32 private: 34 private:
33 DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer); 35 DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer);
34 }; 36 };
35 37
36 } // namespace test 38 } // namespace test
37 } // namespace net 39 } // namespace net
38 40
39 #endif // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ 41 #endif // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream.cc ('k') | net/quic/test_tools/quic_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698