| 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" |
| 11 #include "net/quic/crypto/crypto_utils.h" | 11 #include "net/quic/crypto/crypto_utils.h" |
| 12 #include "net/quic/crypto/null_encrypter.h" | 12 #include "net/quic/crypto/null_encrypter.h" |
| 13 #include "net/quic/crypto/quic_decrypter.h" | 13 #include "net/quic/crypto/quic_decrypter.h" |
| 14 #include "net/quic/crypto/quic_encrypter.h" | 14 #include "net/quic/crypto/quic_encrypter.h" |
| 15 #include "net/quic/quic_framer.h" | 15 #include "net/quic/quic_framer.h" |
| 16 #include "net/quic/quic_packet_creator.h" | 16 #include "net/quic/quic_packet_creator.h" |
| 17 #include "net/quic/quic_utils.h" |
| 17 #include "net/quic/test_tools/quic_connection_peer.h" | 18 #include "net/quic/test_tools/quic_connection_peer.h" |
| 18 #include "net/spdy/spdy_frame_builder.h" | 19 #include "net/spdy/spdy_frame_builder.h" |
| 19 | 20 |
| 20 using base::StringPiece; | 21 using base::StringPiece; |
| 21 using std::max; | 22 using std::max; |
| 22 using std::min; | 23 using std::min; |
| 23 using std::string; | 24 using std::string; |
| 24 using testing::_; | 25 using testing::_; |
| 25 | 26 |
| 26 namespace net { | 27 namespace net { |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 data.AppendToString(&data_); | 543 data.AppendToString(&data_); |
| 543 return true; | 544 return true; |
| 544 } | 545 } |
| 545 | 546 |
| 546 void TestDecompressorVisitor::OnDecompressionError() { | 547 void TestDecompressorVisitor::OnDecompressionError() { |
| 547 error_ = true; | 548 error_ = true; |
| 548 } | 549 } |
| 549 | 550 |
| 550 } // namespace test | 551 } // namespace test |
| 551 } // namespace net | 552 } // namespace net |
| OLD | NEW |