| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/core/quic_spdy_stream.h" | 5 #include "net/quic/core/quic_spdy_stream.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "net/quic/core/quic_spdy_session.h" | 9 #include "net/quic/core/quic_spdy_session.h" |
| 10 #include "net/quic/core/quic_utils.h" | 10 #include "net/quic/core/quic_utils.h" |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 bool fin, | 317 bool fin, |
| 318 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) { | 318 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) { |
| 319 if (spdy_session_->headers_stream() != nullptr && | 319 if (spdy_session_->headers_stream() != nullptr && |
| 320 spdy_session_->force_hol_blocking()) { | 320 spdy_session_->force_hol_blocking()) { |
| 321 return spdy_session_->WritevStreamData(id(), iov, offset, fin, | 321 return spdy_session_->WritevStreamData(id(), iov, offset, fin, |
| 322 std::move(ack_listener)); | 322 std::move(ack_listener)); |
| 323 } | 323 } |
| 324 return QuicStream::WritevDataInner(iov, offset, fin, std::move(ack_listener)); | 324 return QuicStream::WritevDataInner(iov, offset, fin, std::move(ack_listener)); |
| 325 } | 325 } |
| 326 | 326 |
| 327 #undef ENDPOINT |
| 328 |
| 327 } // namespace net | 329 } // namespace net |
| OLD | NEW |