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_stream_peer.h" | 5 #include "net/quic/test_tools/quic_stream_peer.h" |
6 | 6 |
7 #include <list> | 7 #include <list> |
8 | 8 |
9 #include "net/quic/core/quic_stream.h" | 9 #include "net/quic/core/quic_stream.h" |
10 | 10 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // static | 74 // static |
75 QuicStreamSequencer* QuicStreamPeer::sequencer(QuicStream* stream) { | 75 QuicStreamSequencer* QuicStreamPeer::sequencer(QuicStream* stream) { |
76 return &(stream->sequencer_); | 76 return &(stream->sequencer_); |
77 } | 77 } |
78 | 78 |
79 // static | 79 // static |
80 QuicSession* QuicStreamPeer::session(QuicStream* stream) { | 80 QuicSession* QuicStreamPeer::session(QuicStream* stream) { |
81 return stream->session(); | 81 return stream->session(); |
82 } | 82 } |
83 | 83 |
| 84 // static |
| 85 QuicStreamSendBuffer& QuicStreamPeer::SendBuffer(QuicStream* stream) { |
| 86 return stream->send_buffer_; |
| 87 } |
| 88 |
84 } // namespace test | 89 } // namespace test |
85 } // namespace net | 90 } // namespace net |
OLD | NEW |