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

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

Issue 345453003: QUIC - Minor change to keep the code similar to internal source tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/packet_dropping_test_writer.cc ('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::kInitialFlowControlWindowForTest;
14 using net::test::MakeAckFrame; 13 using net::test::MakeAckFrame;
15 using net::test::MockHelper; 14 using net::test::MockHelper;
16 using net::test::QuicConnectionPeer; 15 using net::test::QuicConnectionPeer;
16 using net::test::kInitialFlowControlWindowForTest;
17 17
18 namespace net { 18 namespace net {
19 namespace tools { 19 namespace tools {
20 namespace test { 20 namespace test {
21 21
22 MockConnection::MockConnection(bool is_server) 22 MockConnection::MockConnection(bool is_server)
23 : QuicConnection(kTestConnectionId, 23 : QuicConnection(kTestConnectionId,
24 IPEndPoint(net::test::Loopback4(), kTestPort), 24 IPEndPoint(net::test::Loopback4(), kTestPort),
25 new testing::NiceMock<MockHelper>(), 25 new testing::NiceMock<MockHelper>(),
26 new testing::NiceMock<MockPacketWriter>(), 26 new testing::NiceMock<MockPacketWriter>(),
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 MockAckNotifierDelegate::MockAckNotifierDelegate() { 110 MockAckNotifierDelegate::MockAckNotifierDelegate() {
111 } 111 }
112 112
113 MockAckNotifierDelegate::~MockAckNotifierDelegate() { 113 MockAckNotifierDelegate::~MockAckNotifierDelegate() {
114 } 114 }
115 115
116 } // namespace test 116 } // namespace test
117 } // namespace tools 117 } // namespace tools
118 } // namespace net 118 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/packet_dropping_test_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698