OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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/quic_spdy_session.h" | 5 #include "net/quic/quic_spdy_session.h" |
6 | 6 |
7 #include "net/quic/quic_headers_stream.h" | 7 #include "net/quic/quic_headers_stream.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 size_t QuicSpdySession::WriteHeaders( | 65 size_t QuicSpdySession::WriteHeaders( |
66 QuicStreamId id, | 66 QuicStreamId id, |
67 const SpdyHeaderBlock& headers, | 67 const SpdyHeaderBlock& headers, |
68 bool fin, | 68 bool fin, |
69 QuicPriority priority, | 69 QuicPriority priority, |
70 QuicAckListenerInterface* ack_notifier_delegate) { | 70 QuicAckListenerInterface* ack_notifier_delegate) { |
71 return headers_stream_->WriteHeaders(id, headers, fin, priority, | 71 return headers_stream_->WriteHeaders(id, headers, fin, priority, |
72 ack_notifier_delegate); | 72 ack_notifier_delegate); |
73 } | 73 } |
74 | 74 |
| 75 void QuicSpdySession::OnHeadersHeadOfLineBlocking(QuicTime::Delta delta) { |
| 76 // Implemented in Chromium for stats tracking. |
| 77 } |
| 78 |
75 QuicSpdyStream* QuicSpdySession::GetSpdyDataStream( | 79 QuicSpdyStream* QuicSpdySession::GetSpdyDataStream( |
76 const QuicStreamId stream_id) { | 80 const QuicStreamId stream_id) { |
77 return static_cast<QuicSpdyStream*>(GetOrCreateDynamicStream(stream_id)); | 81 return static_cast<QuicSpdyStream*>(GetOrCreateDynamicStream(stream_id)); |
78 } | 82 } |
79 | 83 |
80 } // namespace net | 84 } // namespace net |
OLD | NEW |