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

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

Issue 1138443003: Land Recent QUIC Changes until 05/13/2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile error fixes Created 5 years, 7 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
« 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/epoll_server/epoll_server.h" 10 #include "net/tools/epoll_server/epoll_server.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 116 }
117 117
118 MockTimeWaitListManager::MockTimeWaitListManager( 118 MockTimeWaitListManager::MockTimeWaitListManager(
119 QuicPacketWriter* writer, 119 QuicPacketWriter* writer,
120 QuicServerSessionVisitor* visitor, 120 QuicServerSessionVisitor* visitor,
121 QuicConnectionHelperInterface* helper) 121 QuicConnectionHelperInterface* helper)
122 : QuicTimeWaitListManager(writer, visitor, helper, 122 : QuicTimeWaitListManager(writer, visitor, helper,
123 QuicSupportedVersions()) { 123 QuicSupportedVersions()) {
124 // Though AddConnectionIdToTimeWait is mocked, we want to retain its 124 // Though AddConnectionIdToTimeWait is mocked, we want to retain its
125 // functionality. 125 // functionality.
126 EXPECT_CALL(*this, AddConnectionIdToTimeWait(_, _, _)).Times(AnyNumber()); 126 EXPECT_CALL(*this, AddConnectionIdToTimeWait(_, _, _, _)).Times(AnyNumber());
127 ON_CALL(*this, AddConnectionIdToTimeWait(_, _, _)) 127 ON_CALL(*this, AddConnectionIdToTimeWait(_, _, _, _))
128 .WillByDefault( 128 .WillByDefault(
129 Invoke(this, &MockTimeWaitListManager:: 129 Invoke(this, &MockTimeWaitListManager::
130 QuicTimeWaitListManager_AddConnectionIdToTimeWait)); 130 QuicTimeWaitListManager_AddConnectionIdToTimeWait));
131 } 131 }
132 132
133 MockTimeWaitListManager::~MockTimeWaitListManager() { 133 MockTimeWaitListManager::~MockTimeWaitListManager() {
134 } 134 }
135 135
136 } // namespace test 136 } // namespace test
137 } // namespace tools 137 } // namespace tools
138 } // namespace net 138 } // 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