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/tools/quic/quic_per_connection_packet_writer.h" | 5 #include "net/tools/quic/quic_per_connection_packet_writer.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 namespace tools { | 9 namespace tools { |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 } | 34 } |
35 | 35 |
36 bool QuicPerConnectionPacketWriter::IsWriteBlocked() const { | 36 bool QuicPerConnectionPacketWriter::IsWriteBlocked() const { |
37 return shared_writer_->IsWriteBlocked(); | 37 return shared_writer_->IsWriteBlocked(); |
38 } | 38 } |
39 | 39 |
40 void QuicPerConnectionPacketWriter::SetWritable() { | 40 void QuicPerConnectionPacketWriter::SetWritable() { |
41 shared_writer_->SetWritable(); | 41 shared_writer_->SetWritable(); |
42 } | 42 } |
43 | 43 |
| 44 QuicByteCount QuicPerConnectionPacketWriter::GetMaxPacketSize( |
| 45 const IPEndPoint& peer_address) const { |
| 46 return shared_writer_->GetMaxPacketSize(peer_address); |
| 47 } |
| 48 |
44 } // namespace tools | 49 } // namespace tools |
45 | 50 |
46 } // namespace net | 51 } // namespace net |
OLD | NEW |