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/reliable_quic_stream.h" | 5 #include "net/quic/core/reliable_quic_stream.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "net/quic/iovector.h" | 8 #include "net/quic/core/iovector.h" |
9 #include "net/quic/quic_bug_tracker.h" | 9 #include "net/quic/core/quic_bug_tracker.h" |
10 #include "net/quic/quic_flags.h" | 10 #include "net/quic/core/quic_flags.h" |
11 #include "net/quic/quic_flow_controller.h" | 11 #include "net/quic/core/quic_flow_controller.h" |
12 #include "net/quic/quic_session.h" | 12 #include "net/quic/core/quic_session.h" |
13 #include "net/quic/quic_write_blocked_list.h" | 13 #include "net/quic/core/quic_write_blocked_list.h" |
14 | 14 |
15 using base::StringPiece; | 15 using base::StringPiece; |
16 using std::min; | 16 using std::min; |
17 using std::string; | 17 using std::string; |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 | 20 |
21 #define ENDPOINT \ | 21 #define ENDPOINT \ |
22 (perspective_ == Perspective::IS_SERVER ? "Server: " : "Client: ") | 22 (perspective_ == Perspective::IS_SERVER ? "Server: " : "Client: ") |
23 | 23 |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 } | 466 } |
467 } | 467 } |
468 | 468 |
469 void ReliableQuicStream::UpdateSendWindowOffset(QuicStreamOffset new_window) { | 469 void ReliableQuicStream::UpdateSendWindowOffset(QuicStreamOffset new_window) { |
470 if (flow_controller_.UpdateSendWindowOffset(new_window)) { | 470 if (flow_controller_.UpdateSendWindowOffset(new_window)) { |
471 OnCanWrite(); | 471 OnCanWrite(); |
472 } | 472 } |
473 } | 473 } |
474 | 474 |
475 } // namespace net | 475 } // namespace net |
OLD | NEW |