Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: net/quic/core/quic_spdy_stream.cc

Issue 2609493002: Landing Recent QUIC changes until 05:15 PM, Dec 24, 2016 UTC (Closed)
Patch Set: Fix random. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_spdy_session.cc ('k') | net/quic/core/quic_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/logging.h" 9 #include "base/logging.h"
10 #include "net/base/parse_number.h" 10 #include "net/base/parse_number.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 spdy_session_ = nullptr; 328 spdy_session_ = nullptr;
329 } 329 }
330 330
331 QuicConsumedData QuicSpdyStream::WritevDataInner( 331 QuicConsumedData QuicSpdyStream::WritevDataInner(
332 QuicIOVector iov, 332 QuicIOVector iov,
333 QuicStreamOffset offset, 333 QuicStreamOffset offset,
334 bool fin, 334 bool fin,
335 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) { 335 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) {
336 if (spdy_session_->headers_stream() != nullptr && 336 if (spdy_session_->headers_stream() != nullptr &&
337 spdy_session_->force_hol_blocking()) { 337 spdy_session_->force_hol_blocking()) {
338 return spdy_session_->headers_stream()->WritevStreamData( 338 return spdy_session_->WritevStreamData(id(), iov, offset, fin,
339 id(), iov, offset, fin, std::move(ack_listener)); 339 std::move(ack_listener));
340 } 340 }
341 return QuicStream::WritevDataInner(iov, offset, fin, std::move(ack_listener)); 341 return QuicStream::WritevDataInner(iov, offset, fin, std::move(ack_listener));
342 } 342 }
343 343
344 } // namespace net 344 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_spdy_session.cc ('k') | net/quic/core/quic_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698