| 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_config_peer.h" | 5 #include "net/quic/test_tools/quic_config_peer.h" |
| 6 | 6 |
| 7 #include "net/quic/quic_config.h" | 7 #include "net/quic/core/quic_config.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 namespace test { | 10 namespace test { |
| 11 | 11 |
| 12 // static | 12 // static |
| 13 void QuicConfigPeer::SetReceivedSocketReceiveBuffer( | 13 void QuicConfigPeer::SetReceivedSocketReceiveBuffer( |
| 14 QuicConfig* config, | 14 QuicConfig* config, |
| 15 uint32_t receive_buffer_bytes) { | 15 uint32_t receive_buffer_bytes) { |
| 16 config->socket_receive_buffer_.SetReceivedValue(receive_buffer_bytes); | 16 config->socket_receive_buffer_.SetReceivedValue(receive_buffer_bytes); |
| 17 } | 17 } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 } | 70 } |
| 71 | 71 |
| 72 // static | 72 // static |
| 73 void QuicConfigPeer::SetReceivedAlternateServerAddress(QuicConfig* config, | 73 void QuicConfigPeer::SetReceivedAlternateServerAddress(QuicConfig* config, |
| 74 IPEndPoint addr) { | 74 IPEndPoint addr) { |
| 75 config->alternate_server_address_.SetReceivedValue(addr); | 75 config->alternate_server_address_.SetReceivedValue(addr); |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace test | 78 } // namespace test |
| 79 } // namespace net | 79 } // namespace net |
| OLD | NEW |