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

Side by Side Diff: net/quic/platform/api/quic_test_loopback.cc

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 #include "net/quic/platform/api/quic_test_loopback.h"
6
7 namespace net {
8
9 IpAddressFamily AddressFamilyUnderTest() {
10 return AddressFamilyUnderTestImpl();
11 }
12
13 QuicIpAddress TestLoopback4() {
14 return TestLoopback4Impl();
15 }
16
17 QuicIpAddress TestLoopback6() {
18 return TestLoopback6Impl();
19 }
20
21 QuicIpAddress TestLoopback() {
22 return TestLoopbackImpl();
23 }
24
25 QuicIpAddress TestLoopback(int index) {
26 return TestLoopbackImpl(index);
27 }
28
29 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/platform/api/quic_test_loopback.h ('k') | net/quic/platform/impl/quic_test_loopback_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698