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

Side by Side Diff: net/quic/quic_packet_reader.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/proxy/proxy_resolver_v8.cc ('k') | net/quic/quic_socket_address_coder.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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/quic_packet_reader.h" 5 #include "net/quic/quic_packet_reader.h"
6 6
7 #include "base/message_loop/message_loop.h"
7 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
8 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
9 10
10 namespace net { 11 namespace net {
11 12
12 QuicPacketReader::QuicPacketReader(DatagramClientSocket* socket, 13 QuicPacketReader::QuicPacketReader(DatagramClientSocket* socket,
13 Visitor* visitor, 14 Visitor* visitor,
14 const BoundNetLog& net_log) 15 const BoundNetLog& net_log)
15 : socket_(socket), 16 : socket_(socket),
16 visitor_(visitor), 17 visitor_(visitor),
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 IPEndPoint peer_address; 68 IPEndPoint peer_address;
68 socket_->GetLocalAddress(&local_address); 69 socket_->GetLocalAddress(&local_address);
69 socket_->GetPeerAddress(&peer_address); 70 socket_->GetPeerAddress(&peer_address);
70 if (!visitor_->OnPacket(packet, local_address, peer_address)) 71 if (!visitor_->OnPacket(packet, local_address, peer_address))
71 return; 72 return;
72 73
73 StartReading(); 74 StartReading();
74 } 75 }
75 76
76 } // namespace net 77 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_v8.cc ('k') | net/quic/quic_socket_address_coder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698