| 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 15 matching lines...) Expand all Loading... |
| 26 return session->headers_stream_.get(); | 26 return session->headers_stream_.get(); |
| 27 } | 27 } |
| 28 | 28 |
| 29 // static | 29 // static |
| 30 WriteBlockedList<QuicStreamId>* QuicSessionPeer::GetWriteblockedStreams( | 30 WriteBlockedList<QuicStreamId>* QuicSessionPeer::GetWriteblockedStreams( |
| 31 QuicSession* session) { | 31 QuicSession* session) { |
| 32 return &session->write_blocked_streams_; | 32 return &session->write_blocked_streams_; |
| 33 } | 33 } |
| 34 | 34 |
| 35 // static | 35 // static |
| 36 QuicDataStream* QuicSessionPeer::GetIncomingReliableStream( | 36 QuicDataStream* QuicSessionPeer::GetIncomingDataStream( |
| 37 QuicSession* session, | 37 QuicSession* session, |
| 38 QuicStreamId stream_id) { | 38 QuicStreamId stream_id) { |
| 39 return session->GetIncomingReliableStream(stream_id); | 39 return session->GetIncomingDataStream(stream_id); |
| 40 } | 40 } |
| 41 | 41 |
| 42 } // namespace test | 42 } // namespace test |
| 43 } // namespace net | 43 } // namespace net |
| OLD | NEW |