| 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/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 "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 11 #include "net/quic/quic_bug_tracker.h" | 11 #include "net/quic/core/quic_bug_tracker.h" |
| 12 #include "net/quic/quic_spdy_session.h" | 12 #include "net/quic/core/quic_spdy_session.h" |
| 13 #include "net/quic/quic_utils.h" | 13 #include "net/quic/core/quic_utils.h" |
| 14 #include "net/quic/quic_write_blocked_list.h" | 14 #include "net/quic/core/quic_write_blocked_list.h" |
| 15 #include "net/quic/spdy_utils.h" | 15 #include "net/quic/core/spdy_utils.h" |
| 16 | 16 |
| 17 using base::IntToString; | 17 using base::IntToString; |
| 18 using base::StringPiece; | 18 using base::StringPiece; |
| 19 using std::min; | 19 using std::min; |
| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 if (spdy_session_->headers_stream() != nullptr && | 409 if (spdy_session_->headers_stream() != nullptr && |
| 410 spdy_session_->force_hol_blocking()) { | 410 spdy_session_->force_hol_blocking()) { |
| 411 return spdy_session_->headers_stream()->WritevStreamData( | 411 return spdy_session_->headers_stream()->WritevStreamData( |
| 412 id(), iov, offset, fin, ack_notifier_delegate); | 412 id(), iov, offset, fin, ack_notifier_delegate); |
| 413 } | 413 } |
| 414 return ReliableQuicStream::WritevDataInner(iov, offset, fin, | 414 return ReliableQuicStream::WritevDataInner(iov, offset, fin, |
| 415 ack_notifier_delegate); | 415 ack_notifier_delegate); |
| 416 } | 416 } |
| 417 | 417 |
| 418 } // namespace net | 418 } // namespace net |
| OLD | NEW |