| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 bool fin, | 316 bool fin, |
| 317 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) { | 317 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) { |
| 318 if (spdy_session_->headers_stream() != nullptr && | 318 if (spdy_session_->headers_stream() != nullptr && |
| 319 spdy_session_->force_hol_blocking()) { | 319 spdy_session_->force_hol_blocking()) { |
| 320 return spdy_session_->WritevStreamData(id(), iov, offset, fin, | 320 return spdy_session_->WritevStreamData(id(), iov, offset, fin, |
| 321 std::move(ack_listener)); | 321 std::move(ack_listener)); |
| 322 } | 322 } |
| 323 return QuicStream::WritevDataInner(iov, offset, fin, std::move(ack_listener)); | 323 return QuicStream::WritevDataInner(iov, offset, fin, std::move(ack_listener)); |
| 324 } | 324 } |
| 325 | 325 |
| 326 #undef ENDPOINT |
| 327 |
| 326 } // namespace net | 328 } // namespace net |
| OLD | NEW |