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

Side by Side Diff: net/quic/platform/impl/quic_socket_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_socket_address_impl.h" 5 #include "net/quic/platform/impl/quic_socket_address_impl.h"
6 6
7 #include "net/base/sockaddr_storage.h" 7 #include "net/base/sockaddr_storage.h"
8 #include "net/quic/core/quic_bug_tracker.h" 8 #include "net/quic/platform/api/quic_bug_tracker.h"
9 9
10 using std::string; 10 using std::string;
11 11
12 namespace net { 12 namespace net {
13 13
14 QuicSocketAddressImpl::QuicSocketAddressImpl(IPEndPoint address) 14 QuicSocketAddressImpl::QuicSocketAddressImpl(IPEndPoint address)
15 : socket_address_(address) {} 15 : socket_address_(address) {}
16 16
17 QuicSocketAddressImpl::QuicSocketAddressImpl(QuicIpAddressImpl address, 17 QuicSocketAddressImpl::QuicSocketAddressImpl(QuicIpAddressImpl address,
18 uint16_t port) 18 uint16_t port)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 sockaddr_storage QuicSocketAddressImpl::generic_address() const { 83 sockaddr_storage QuicSocketAddressImpl::generic_address() const {
84 sockaddr_storage raw_address; 84 sockaddr_storage raw_address;
85 socklen_t address_len = sizeof(raw_address); 85 socklen_t address_len = sizeof(raw_address);
86 CHECK(socket_address_.ToSockAddr( 86 CHECK(socket_address_.ToSockAddr(
87 reinterpret_cast<struct sockaddr*>(&raw_address), &address_len)); 87 reinterpret_cast<struct sockaddr*>(&raw_address), &address_len));
88 return raw_address; 88 return raw_address;
89 } 89 }
90 90
91 } // namespace net 91 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/platform/impl/quic_ip_address_impl.cc ('k') | net/quic/test_tools/simulator/simulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698