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

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

Issue 181723003: Start using the loss timeout in QuicSentPacketManager and add a mock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/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/quic/test_tools/quic_test_utils.h" 5 #include "net/quic/test_tools/quic_test_utils.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "net/quic/crypto/crypto_framer.h" 9 #include "net/quic/crypto/crypto_framer.h"
10 #include "net/quic/crypto/crypto_handshake.h" 10 #include "net/quic/crypto/crypto_handshake.h"
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 368
369 MockPacketWriter::~MockPacketWriter() { 369 MockPacketWriter::~MockPacketWriter() {
370 } 370 }
371 371
372 MockSendAlgorithm::MockSendAlgorithm() { 372 MockSendAlgorithm::MockSendAlgorithm() {
373 } 373 }
374 374
375 MockSendAlgorithm::~MockSendAlgorithm() { 375 MockSendAlgorithm::~MockSendAlgorithm() {
376 } 376 }
377 377
378 MockLossAlgorithm::MockLossAlgorithm() {
379 }
380
381 MockLossAlgorithm::~MockLossAlgorithm() {
382 }
383
378 MockAckNotifierDelegate::MockAckNotifierDelegate() { 384 MockAckNotifierDelegate::MockAckNotifierDelegate() {
379 } 385 }
380 386
381 MockAckNotifierDelegate::~MockAckNotifierDelegate() { 387 MockAckNotifierDelegate::~MockAckNotifierDelegate() {
382 } 388 }
383 389
384 namespace { 390 namespace {
385 391
386 string HexDumpWithMarks(const char* data, int length, 392 string HexDumpWithMarks(const char* data, int length,
387 const bool* marks, int mark_length) { 393 const bool* marks, int mark_length) {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 data.AppendToString(&data_); 573 data.AppendToString(&data_);
568 return true; 574 return true;
569 } 575 }
570 576
571 void TestDecompressorVisitor::OnDecompressionError() { 577 void TestDecompressorVisitor::OnDecompressionError() {
572 error_ = true; 578 error_ = true;
573 } 579 }
574 580
575 } // namespace test 581 } // namespace test
576 } // namespace net 582 } // namespace net
OLDNEW
« no previous file with comments | « net/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