| 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/crypto/crypto_framer.h" |
| 6 |
| 5 #include <map> | 7 #include <map> |
| 6 #include <vector> | 8 #include <vector> |
| 7 | 9 |
| 8 #include "base/logging.h" | 10 #include "base/logging.h" |
| 9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 10 #include "net/quic/crypto/crypto_framer.h" | |
| 11 #include "net/quic/crypto/crypto_handshake.h" | 12 #include "net/quic/crypto/crypto_handshake.h" |
| 12 #include "net/quic/crypto/crypto_protocol.h" | 13 #include "net/quic/crypto/crypto_protocol.h" |
| 13 #include "net/quic/quic_protocol.h" | 14 #include "net/quic/quic_protocol.h" |
| 14 #include "net/quic/test_tools/crypto_test_utils.h" | 15 #include "net/quic/test_tools/crypto_test_utils.h" |
| 15 #include "net/quic/test_tools/quic_test_utils.h" | 16 #include "net/quic/test_tools/quic_test_utils.h" |
| 16 | 17 |
| 17 using base::StringPiece; | 18 using base::StringPiece; |
| 18 using std::map; | 19 using std::map; |
| 19 using std::string; | 20 using std::string; |
| 20 using std::vector; | 21 using std::vector; |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 }; | 476 }; |
| 476 | 477 |
| 477 EXPECT_TRUE( | 478 EXPECT_TRUE( |
| 478 framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); | 479 framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); |
| 479 EXPECT_EQ(0, visitor.error_count_); | 480 EXPECT_EQ(0, visitor.error_count_); |
| 480 } | 481 } |
| 481 | 482 |
| 482 } // namespace test | 483 } // namespace test |
| 483 | 484 |
| 484 } // namespace net | 485 } // namespace net |
| OLD | NEW |