Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1150)

Side by Side Diff: net/tools/quic/quic_default_packet_writer.cc

Issue 1320303009: relnote: Allow individual QUIC writers to limit the maximum packet size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0909_1
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_default_packet_writer.h" 5 #include "net/tools/quic/quic_default_packet_writer.h"
6 6
7 #include "net/tools/quic/quic_socket_utils.h" 7 #include "net/tools/quic/quic_socket_utils.h"
8 8
9 namespace net { 9 namespace net {
10 namespace tools { 10 namespace tools {
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 bool QuicDefaultPacketWriter::IsWriteBlocked() const { 36 bool QuicDefaultPacketWriter::IsWriteBlocked() const {
37 return write_blocked_; 37 return write_blocked_;
38 } 38 }
39 39
40 void QuicDefaultPacketWriter::SetWritable() { 40 void QuicDefaultPacketWriter::SetWritable() {
41 write_blocked_ = false; 41 write_blocked_ = false;
42 } 42 }
43 43
44 QuicByteCount QuicDefaultPacketWriter::GetMaxPacketSize(
45 const IPEndPoint& peer_address) const {
46 return kMaxPacketSize;
47 }
48
44 } // namespace tools 49 } // namespace tools
45 } // namespace net 50 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_default_packet_writer.h ('k') | net/tools/quic/quic_packet_writer_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698