OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/test_tools/quic_flow_controller_peer.h" | 5 #include "net/quic/test_tools/quic_flow_controller_peer.h" |
6 | 6 |
7 #include <list> | 7 #include <list> |
8 | 8 |
9 #include "net/quic/quic_flow_controller.h" | 9 #include "net/quic/core/quic_flow_controller.h" |
10 #include "net/quic/quic_protocol.h" | 10 #include "net/quic/core/quic_protocol.h" |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 namespace test { | 13 namespace test { |
14 | 14 |
15 // static | 15 // static |
16 void QuicFlowControllerPeer::SetSendWindowOffset( | 16 void QuicFlowControllerPeer::SetSendWindowOffset( |
17 QuicFlowController* flow_controller, | 17 QuicFlowController* flow_controller, |
18 QuicStreamOffset offset) { | 18 QuicStreamOffset offset) { |
19 flow_controller->send_window_offset_ = offset; | 19 flow_controller->send_window_offset_ = offset; |
20 } | 20 } |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 | 60 |
61 // static | 61 // static |
62 QuicByteCount QuicFlowControllerPeer::WindowUpdateThreshold( | 62 QuicByteCount QuicFlowControllerPeer::WindowUpdateThreshold( |
63 QuicFlowController* flow_controller) { | 63 QuicFlowController* flow_controller) { |
64 return flow_controller->WindowUpdateThreshold(); | 64 return flow_controller->WindowUpdateThreshold(); |
65 } | 65 } |
66 | 66 |
67 } // namespace test | 67 } // namespace test |
68 } // namespace net | 68 } // namespace net |
OLD | NEW |