| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |