| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |