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

Side by Side Diff: net/quic/platform/impl/quic_ip_address_impl.cc

Issue 2619993003: Move quic_bug_tracker to quic/platform. No functional change expected. (Closed)
Patch Set: fix two includes Created 3 years, 11 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 (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/platform/impl/quic_ip_address_impl.h" 5 #include "net/quic/platform/impl/quic_ip_address_impl.h"
6 6
7 #include "net/base/address_family.h" 7 #include "net/base/address_family.h"
8 #include "net/quic/core/quic_bug_tracker.h" 8 #include "net/quic/platform/api/quic_bug_tracker.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include <winsock2.h> 11 #include <winsock2.h>
12 #include <ws2bth.h> 12 #include <ws2bth.h>
13 #elif defined(OS_POSIX) 13 #elif defined(OS_POSIX)
14 #include <netinet/in.h> 14 #include <netinet/in.h>
15 #endif 15 #endif
16 16
17 using std::string; 17 using std::string;
18 18
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool QuicIpAddressImpl::IsIPv6() const { 124 bool QuicIpAddressImpl::IsIPv6() const {
125 return ip_address_.IsIPv6(); 125 return ip_address_.IsIPv6();
126 } 126 }
127 127
128 bool QuicIpAddressImpl::InSameSubnet(const QuicIpAddressImpl& other, 128 bool QuicIpAddressImpl::InSameSubnet(const QuicIpAddressImpl& other,
129 int subnet_length) { 129 int subnet_length) {
130 return IPAddressMatchesPrefix(ip_address_, other.ip_address(), subnet_length); 130 return IPAddressMatchesPrefix(ip_address_, other.ip_address(), subnet_length);
131 } 131 }
132 132
133 } // namespace net 133 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/platform/impl/quic_bug_tracker_impl.h ('k') | net/quic/platform/impl/quic_socket_address_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698