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

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

Issue 2548213002: Move quic_socket_utils to platform/impl/ (Closed)
Patch Set: Created 4 years 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 | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_epoll_connection_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/platform/impl/quic_socket_utils.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 QuicDefaultPacketWriter::QuicDefaultPacketWriter(int fd) 11 QuicDefaultPacketWriter::QuicDefaultPacketWriter(int fd)
12 : fd_(fd), write_blocked_(false) {} 12 : fd_(fd), write_blocked_(false) {}
13 13
14 QuicDefaultPacketWriter::~QuicDefaultPacketWriter() {} 14 QuicDefaultPacketWriter::~QuicDefaultPacketWriter() {}
15 15
16 WriteResult QuicDefaultPacketWriter::WritePacket( 16 WriteResult QuicDefaultPacketWriter::WritePacket(
17 const char* buffer, 17 const char* buffer,
(...skipping 27 matching lines...) Expand all
45 QuicByteCount QuicDefaultPacketWriter::GetMaxPacketSize( 45 QuicByteCount QuicDefaultPacketWriter::GetMaxPacketSize(
46 const QuicSocketAddress& peer_address) const { 46 const QuicSocketAddress& peer_address) const {
47 return kMaxPacketSize; 47 return kMaxPacketSize;
48 } 48 }
49 49
50 void QuicDefaultPacketWriter::set_write_blocked(bool is_blocked) { 50 void QuicDefaultPacketWriter::set_write_blocked(bool is_blocked) {
51 write_blocked_ = is_blocked; 51 write_blocked_ = is_blocked;
52 } 52 }
53 53
54 } // namespace net 54 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_epoll_connection_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698