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

Side by Side Diff: net/quic/quartc/quartc_packet_writer.cc

Issue 2501323002: Add missing include of errno.h (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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/quartc/quartc_packet_writer.h" 5 #include "net/quic/quartc/quartc_packet_writer.h"
6 6
7 #include <errno.h>
8
7 namespace net { 9 namespace net {
8 10
9 QuartcPacketWriter::QuartcPacketWriter( 11 QuartcPacketWriter::QuartcPacketWriter(
10 QuartcSessionInterface::PacketTransport* packet_transport, 12 QuartcSessionInterface::PacketTransport* packet_transport,
11 QuicByteCount max_packet_size) 13 QuicByteCount max_packet_size)
12 : packet_transport_(packet_transport), max_packet_size_(max_packet_size) {} 14 : packet_transport_(packet_transport), max_packet_size_(max_packet_size) {}
13 15
14 WriteResult QuartcPacketWriter::WritePacket(const char* buffer, 16 WriteResult QuartcPacketWriter::WritePacket(const char* buffer,
15 size_t buf_len, 17 size_t buf_len,
16 const IPAddress& self_address, 18 const IPAddress& self_address,
(...skipping 17 matching lines...) Expand all
34 } 36 }
35 37
36 QuicByteCount QuartcPacketWriter::GetMaxPacketSize( 38 QuicByteCount QuartcPacketWriter::GetMaxPacketSize(
37 const IPEndPoint& peer_address) const { 39 const IPEndPoint& peer_address) const {
38 return max_packet_size_; 40 return max_packet_size_;
39 } 41 }
40 42
41 void QuartcPacketWriter::SetWritable() {} 43 void QuartcPacketWriter::SetWritable() {}
42 44
43 } // namespace net 45 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698