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_simple_per_connection_packet_writer.cc

Issue 1162973005: Stop including ip_address_number.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some header sorting changes, seems to be breaking windows Created 5 years, 6 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
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_simple_server_packet_writer.h » ('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 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_simple_per_connection_packet_writer.h" 5 #include "net/tools/quic/quic_simple_per_connection_packet_writer.h"
6 6
7 #include "base/bind.h"
7 #include "net/tools/quic/quic_simple_server_packet_writer.h" 8 #include "net/tools/quic/quic_simple_server_packet_writer.h"
8 9
9 namespace net { 10 namespace net {
10 namespace tools { 11 namespace tools {
11 12
12 QuicSimplePerConnectionPacketWriter::QuicSimplePerConnectionPacketWriter( 13 QuicSimplePerConnectionPacketWriter::QuicSimplePerConnectionPacketWriter(
13 QuicSimpleServerPacketWriter* shared_writer, 14 QuicSimpleServerPacketWriter* shared_writer,
14 QuicConnection* connection) 15 QuicConnection* connection)
15 : shared_writer_(shared_writer), 16 : shared_writer_(shared_writer),
16 connection_(connection), 17 connection_(connection),
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 52 }
52 53
53 void QuicSimplePerConnectionPacketWriter::OnWriteComplete(WriteResult result) { 54 void QuicSimplePerConnectionPacketWriter::OnWriteComplete(WriteResult result) {
54 if (result.status == WRITE_STATUS_ERROR) { 55 if (result.status == WRITE_STATUS_ERROR) {
55 connection_->OnWriteError(result.error_code); 56 connection_->OnWriteError(result.error_code);
56 } 57 }
57 } 58 }
58 59
59 } // namespace tools 60 } // namespace tools
60 } // namespace net 61 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_simple_server_packet_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698