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

Side by Side Diff: net/quic/platform/impl/quic_test_loopback_impl.h

Issue 2933613002: Add quic_test_loopback used for tests only. (Closed)
Patch Set: Created 3 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
OLDNEW
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_QUIC_PLATFORM_IMPL_QUIC_TEST_LOOPBACK_IMPL_H_
6 #define NET_QUIC_PLATFORM_IMPL_QUIC_TEST_LOOPBACK_IMPL_H_
7
8 #include "net/quic/platform/api/quic_ip_address.h"
9
10 namespace net {
11
12 // Returns the address family IPv4 used to run test under.
13 IpAddressFamily AddressFamilyUnderTestImpl();
14
15 // Returns an IPv4 loopback address.
16 QuicIpAddress TestLoopback4Impl();
17
18 // Returns the only IPv6 loopback address.
19 QuicIpAddress TestLoopback6Impl();
20
21 // Returns an IPv4 loopback address.
22 QuicIpAddress TestLoopbackImpl();
23
24 // Returns an indexed IPv4 loopback address.
25 QuicIpAddress TestLoopbackImpl(int index);
26
27 } // namespace net
28
29 #endif // NET_QUIC_PLATFORM_IMPL_QUIC_TEST_LOOPBACK_IMPL_H_
OLDNEW
« no previous file with comments | « net/quic/platform/api/quic_test_loopback.cc ('k') | net/quic/platform/impl/quic_test_loopback_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698