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

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

Issue 2743883002: Remove PathCloseFrame, QuicPathId, DefaultPathId and InvalidPathId. (Closed)
Patch Set: Created 3 years, 9 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/quic/test_tools/quic_test_utils.h ('k') | net/quic/test_tools/simple_quic_framer.cc » ('j') | 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/quic/test_tools/quic_test_utils.h" 5 #include "net/quic/test_tools/quic_test_utils.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 9
10 #include "net/quic/core/crypto/crypto_framer.h" 10 #include "net/quic/core/crypto/crypto_framer.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 bool NoOpFramerVisitor::OnWindowUpdateFrame( 215 bool NoOpFramerVisitor::OnWindowUpdateFrame(
216 const QuicWindowUpdateFrame& frame) { 216 const QuicWindowUpdateFrame& frame) {
217 return true; 217 return true;
218 } 218 }
219 219
220 bool NoOpFramerVisitor::OnBlockedFrame(const QuicBlockedFrame& frame) { 220 bool NoOpFramerVisitor::OnBlockedFrame(const QuicBlockedFrame& frame) {
221 return true; 221 return true;
222 } 222 }
223 223
224 bool NoOpFramerVisitor::OnPathCloseFrame(const QuicPathCloseFrame& frame) {
225 return true;
226 }
227
228 MockQuicConnectionVisitor::MockQuicConnectionVisitor() {} 224 MockQuicConnectionVisitor::MockQuicConnectionVisitor() {}
229 225
230 MockQuicConnectionVisitor::~MockQuicConnectionVisitor() {} 226 MockQuicConnectionVisitor::~MockQuicConnectionVisitor() {}
231 227
232 MockQuicConnectionHelper::MockQuicConnectionHelper() {} 228 MockQuicConnectionHelper::MockQuicConnectionHelper() {}
233 229
234 MockQuicConnectionHelper::~MockQuicConnectionHelper() {} 230 MockQuicConnectionHelper::~MockQuicConnectionHelper() {}
235 231
236 const QuicClock* MockQuicConnectionHelper::GetClock() const { 232 const QuicClock* MockQuicConnectionHelper::GetClock() const {
237 return &clock_; 233 return &clock_;
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 // strike register worries that we've just overflowed a uint32_t time. 820 // strike register worries that we've just overflowed a uint32_t time.
825 (*server_connection)->AdvanceTime(connection_start_time); 821 (*server_connection)->AdvanceTime(connection_start_time);
826 } 822 }
827 823
828 QuicStreamId QuicClientDataStreamId(int i) { 824 QuicStreamId QuicClientDataStreamId(int i) {
829 return kClientDataStreamId1 + 2 * i; 825 return kClientDataStreamId1 + 2 * i;
830 } 826 }
831 827
832 } // namespace test 828 } // namespace test
833 } // namespace net 829 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/quic/test_tools/simple_quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698