| 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/core/quic_connection.h" | 5 #include "net/quic/core/quic_connection.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <ostream> | 9 #include <ostream> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "testing/gmock/include/gmock/gmock.h" | 37 #include "testing/gmock/include/gmock/gmock.h" |
| 38 #include "testing/gtest/include/gtest/gtest.h" | 38 #include "testing/gtest/include/gtest/gtest.h" |
| 39 | 39 |
| 40 using base::StringPiece; | 40 using base::StringPiece; |
| 41 using std::map; | 41 using std::map; |
| 42 using std::ostream; | 42 using std::ostream; |
| 43 using std::string; | 43 using std::string; |
| 44 using std::vector; | 44 using std::vector; |
| 45 using testing::AnyNumber; | 45 using testing::AnyNumber; |
| 46 using testing::AtLeast; | 46 using testing::AtLeast; |
| 47 using testing::Contains; | |
| 48 using testing::DoAll; | 47 using testing::DoAll; |
| 49 using testing::InSequence; | 48 using testing::InSequence; |
| 50 using testing::InvokeWithoutArgs; | 49 using testing::InvokeWithoutArgs; |
| 51 using testing::NiceMock; | 50 using testing::NiceMock; |
| 52 using testing::Ref; | 51 using testing::Ref; |
| 53 using testing::Return; | 52 using testing::Return; |
| 54 using testing::SaveArg; | 53 using testing::SaveArg; |
| 55 using testing::SetArgPointee; | 54 using testing::SetArgPointee; |
| 56 using testing::StrictMock; | 55 using testing::StrictMock; |
| 57 using testing::_; | 56 using testing::_; |
| (...skipping 5059 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5117 error_details, ConnectionCloseSource::FROM_PEER)); | 5116 error_details, ConnectionCloseSource::FROM_PEER)); |
| 5118 connection_.set_perspective(Perspective::IS_CLIENT); | 5117 connection_.set_perspective(Perspective::IS_CLIENT); |
| 5119 connection_.CloseConnection(QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT, | 5118 connection_.CloseConnection(QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT, |
| 5120 error_details, | 5119 error_details, |
| 5121 ConnectionCloseBehavior::SILENT_CLOSE); | 5120 ConnectionCloseBehavior::SILENT_CLOSE); |
| 5122 } | 5121 } |
| 5123 | 5122 |
| 5124 } // namespace | 5123 } // namespace |
| 5125 } // namespace test | 5124 } // namespace test |
| 5126 } // namespace net | 5125 } // namespace net |
| OLD | NEW |