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 "base/logging.h" | 9 #include "base/logging.h" |
10 #include "net/base/parse_number.h" | 10 #include "net/base/parse_number.h" |
11 #include "net/quic/core/quic_bug_tracker.h" | |
12 #include "net/quic/core/quic_spdy_session.h" | 11 #include "net/quic/core/quic_spdy_session.h" |
13 #include "net/quic/core/quic_utils.h" | 12 #include "net/quic/core/quic_utils.h" |
14 #include "net/quic/core/quic_write_blocked_list.h" | 13 #include "net/quic/core/quic_write_blocked_list.h" |
15 #include "net/quic/core/spdy_utils.h" | 14 #include "net/quic/core/spdy_utils.h" |
| 15 #include "net/quic/platform/api/quic_bug_tracker.h" |
16 #include "net/quic/platform/api/quic_text_utils.h" | 16 #include "net/quic/platform/api/quic_text_utils.h" |
17 | 17 |
18 using base::IntToString; | 18 using base::IntToString; |
19 using base::StringPiece; | 19 using base::StringPiece; |
20 using std::string; | 20 using std::string; |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 #define ENDPOINT \ | 24 #define ENDPOINT \ |
25 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ | 25 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_->WritevStreamData(id(), iov, offset, fin, | 338 return spdy_session_->WritevStreamData(id(), iov, offset, fin, |
339 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 |
OLD | NEW |