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/tools/quic/test_tools/quic_test_utils.h" | 5 #include "net/tools/quic/test_tools/quic_test_utils.h" |
6 | 6 |
7 #include "base/sha1.h" | 7 #include "base/sha1.h" |
8 #include "net/quic/quic_connection.h" | 8 #include "net/quic/quic_connection.h" |
9 #include "net/quic/test_tools/quic_connection_peer.h" | 9 #include "net/quic/test_tools/quic_connection_peer.h" |
10 #include "net/quic/test_tools/quic_test_utils.h" | 10 #include "net/quic/test_tools/quic_test_utils.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 MockPacketWriter::~MockPacketWriter() { | 96 MockPacketWriter::~MockPacketWriter() { |
97 } | 97 } |
98 | 98 |
99 MockQuicServerSessionVisitor::MockQuicServerSessionVisitor() { | 99 MockQuicServerSessionVisitor::MockQuicServerSessionVisitor() { |
100 } | 100 } |
101 | 101 |
102 MockQuicServerSessionVisitor::~MockQuicServerSessionVisitor() { | 102 MockQuicServerSessionVisitor::~MockQuicServerSessionVisitor() { |
103 } | 103 } |
104 | 104 |
105 bool TestDecompressorVisitor::OnDecompressedData(StringPiece data) { | |
106 data.AppendToString(&data_); | |
107 return true; | |
108 } | |
109 | |
110 void TestDecompressorVisitor::OnDecompressionError() { | |
111 error_ = true; | |
112 } | |
113 | |
114 MockAckNotifierDelegate::MockAckNotifierDelegate() { | 105 MockAckNotifierDelegate::MockAckNotifierDelegate() { |
115 } | 106 } |
116 | 107 |
117 MockAckNotifierDelegate::~MockAckNotifierDelegate() { | 108 MockAckNotifierDelegate::~MockAckNotifierDelegate() { |
118 } | 109 } |
119 | 110 |
120 } // namespace test | 111 } // namespace test |
121 } // namespace tools | 112 } // namespace tools |
122 } // namespace net | 113 } // namespace net |
OLD | NEW |