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

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

Issue 2115033002: Adds QUIC_VERSION_36 which adds support to force HOL blocking between streams for measurement purpo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126085461
Patch Set: typo Created 4 years, 5 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/quic_spdy_stream.h ('k') | net/quic/quic_spdy_stream_test.cc » ('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/quic_spdy_stream.h" 5 #include "net/quic/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 "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 395 }
396 396
397 SpdyPriority QuicSpdyStream::priority() const { 397 SpdyPriority QuicSpdyStream::priority() const {
398 return priority_; 398 return priority_;
399 } 399 }
400 400
401 void QuicSpdyStream::ClearSession() { 401 void QuicSpdyStream::ClearSession() {
402 spdy_session_ = nullptr; 402 spdy_session_ = nullptr;
403 } 403 }
404 404
405 QuicConsumedData QuicSpdyStream::WritevDataInner(
406 QuicIOVector iov,
407 QuicStreamOffset offset,
408 bool fin,
409 QuicAckListenerInterface* ack_notifier_delegate) {
410 if (spdy_session_->headers_stream() != nullptr &&
411 spdy_session_->force_hol_blocking()) {
412 return spdy_session_->headers_stream()->WritevStreamData(
413 id(), iov, offset, fin, ack_notifier_delegate);
414 }
415 return ReliableQuicStream::WritevDataInner(iov, offset, fin,
416 ack_notifier_delegate);
417 }
418
405 } // namespace net 419 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_spdy_stream.h ('k') | net/quic/quic_spdy_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698