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

Side by Side Diff: net/tools/quic/test_tools/quic_test_utils.cc

Issue 341083007: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 6 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.h ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/tools/quic/test_tools/quic_test_utils.h" 5 #include "net/tools/quic/test_tools/quic_test_utils.h"
6 6
7 #include "net/quic/quic_connection.h" 7 #include "net/quic/quic_connection.h"
8 #include "net/quic/test_tools/quic_connection_peer.h" 8 #include "net/quic/test_tools/quic_connection_peer.h"
9 #include "net/quic/test_tools/quic_test_utils.h" 9 #include "net/quic/test_tools/quic_test_utils.h"
10 #include "net/tools/quic/quic_epoll_connection_helper.h" 10 #include "net/tools/quic/quic_epoll_connection_helper.h"
11 11
12 using base::StringPiece; 12 using base::StringPiece;
13 using net::test::MakeAckFrame; 13 using net::test::MakeAckFrame;
14 using net::test::MockHelper; 14 using net::test::MockHelper;
15 using net::test::QuicConnectionPeer; 15 using net::test::QuicConnectionPeer;
16 using net::test::kInitialFlowControlWindowForTest;
17 16
18 namespace net { 17 namespace net {
19 namespace tools { 18 namespace tools {
20 namespace test { 19 namespace test {
21 20
22 MockConnection::MockConnection(bool is_server) 21 MockConnection::MockConnection(bool is_server)
23 : QuicConnection(kTestConnectionId, 22 : QuicConnection(kTestConnectionId,
24 IPEndPoint(net::test::Loopback4(), kTestPort), 23 IPEndPoint(net::test::Loopback4(), kTestPort),
25 new testing::NiceMock<MockHelper>(), 24 new testing::NiceMock<MockHelper>(),
26 new testing::NiceMock<MockPacketWriter>(), 25 new testing::NiceMock<MockPacketWriter>(),
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 108
110 MockAckNotifierDelegate::MockAckNotifierDelegate() { 109 MockAckNotifierDelegate::MockAckNotifierDelegate() {
111 } 110 }
112 111
113 MockAckNotifierDelegate::~MockAckNotifierDelegate() { 112 MockAckNotifierDelegate::~MockAckNotifierDelegate() {
114 } 113 }
115 114
116 } // namespace test 115 } // namespace test
117 } // namespace tools 116 } // namespace tools
118 } // namespace net 117 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698