| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_stream.h" | 5 #include "net/quic/core/quic_stream.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "net/quic/core/quic_bug_tracker.h" | |
| 9 #include "net/quic/core/quic_flags.h" | 8 #include "net/quic/core/quic_flags.h" |
| 10 #include "net/quic/core/quic_flow_controller.h" | 9 #include "net/quic/core/quic_flow_controller.h" |
| 11 #include "net/quic/core/quic_session.h" | 10 #include "net/quic/core/quic_session.h" |
| 12 #include "net/quic/core/quic_write_blocked_list.h" | 11 #include "net/quic/core/quic_write_blocked_list.h" |
| 12 #include "net/quic/platform/api/quic_bug_tracker.h" |
| 13 | 13 |
| 14 using base::StringPiece; | 14 using base::StringPiece; |
| 15 using std::string; | 15 using std::string; |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 | 18 |
| 19 #define ENDPOINT \ | 19 #define ENDPOINT \ |
| 20 (perspective_ == Perspective::IS_SERVER ? "Server: " : "Client: ") | 20 (perspective_ == Perspective::IS_SERVER ? "Server: " : "Client: ") |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 } | 473 } |
| 474 } | 474 } |
| 475 | 475 |
| 476 void QuicStream::UpdateSendWindowOffset(QuicStreamOffset new_window) { | 476 void QuicStream::UpdateSendWindowOffset(QuicStreamOffset new_window) { |
| 477 if (flow_controller_.UpdateSendWindowOffset(new_window)) { | 477 if (flow_controller_.UpdateSendWindowOffset(new_window)) { |
| 478 OnCanWrite(); | 478 OnCanWrite(); |
| 479 } | 479 } |
| 480 } | 480 } |
| 481 | 481 |
| 482 } // namespace net | 482 } // namespace net |
| OLD | NEW |