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

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

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/test_tools/quic_session_peer.h ('k') | net/tools/quic/end_to_end_test.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 #include "net/quic/test_tools/quic_session_peer.h" 5 #include "net/quic/test_tools/quic_session_peer.h"
6 6
7 #include "net/quic/quic_session.h" 7 #include "net/quic/quic_session.h"
8 #include "net/quic/reliable_quic_stream.h" 8 #include "net/quic/reliable_quic_stream.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 return &session->write_blocked_streams_; 43 return &session->write_blocked_streams_;
44 } 44 }
45 45
46 // static 46 // static
47 QuicDataStream* QuicSessionPeer::GetIncomingDataStream( 47 QuicDataStream* QuicSessionPeer::GetIncomingDataStream(
48 QuicSession* session, 48 QuicSession* session,
49 QuicStreamId stream_id) { 49 QuicStreamId stream_id) {
50 return session->GetIncomingDataStream(stream_id); 50 return session->GetIncomingDataStream(stream_id);
51 } 51 }
52 52
53 // static
54 map<QuicStreamId, QuicStreamOffset>&
55 QuicSessionPeer::GetLocallyClosedStreamsHighestOffset(QuicSession* session) {
56 return session->locally_closed_streams_highest_offset_;
57 }
58
53 } // namespace test 59 } // namespace test
54 } // namespace net 60 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_session_peer.h ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698