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/sha1.h" | 7 #include "base/sha1.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "net/quic/crypto/crypto_framer.h" | 10 #include "net/quic/crypto/crypto_framer.h" |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 // class may be used in a setting where connection()->OnPacketSent() is called | 707 // class may be used in a setting where connection()->OnPacketSent() is called |
708 // in a different way, so TestWriterFactory::OnPacketSent might never be | 708 // in a different way, so TestWriterFactory::OnPacketSent might never be |
709 // called. | 709 // called. |
710 factory_->current_writer_ = this; | 710 factory_->current_writer_ = this; |
711 return tools::QuicPerConnectionPacketWriter::WritePacket(buffer, | 711 return tools::QuicPerConnectionPacketWriter::WritePacket(buffer, |
712 buf_len, | 712 buf_len, |
713 self_address, | 713 self_address, |
714 peer_address); | 714 peer_address); |
715 } | 715 } |
716 | 716 |
| 717 MockQuicConnectionDebugVisitor::MockQuicConnectionDebugVisitor() { |
| 718 } |
| 719 |
| 720 MockQuicConnectionDebugVisitor::~MockQuicConnectionDebugVisitor() { |
| 721 } |
| 722 |
717 } // namespace test | 723 } // namespace test |
718 } // namespace net | 724 } // namespace net |
OLD | NEW |