| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/quic_server_session.h" | 5 #include "net/tools/quic/quic_server_session.h" |
| 6 | 6 |
| 7 #include "net/quic/crypto/cached_network_parameters.h" | 7 #include "net/quic/crypto/cached_network_parameters.h" |
| 8 #include "net/quic/crypto/quic_crypto_server_config.h" | 8 #include "net/quic/crypto/quic_crypto_server_config.h" |
| 9 #include "net/quic/crypto/quic_random.h" | 9 #include "net/quic/crypto/quic_random.h" |
| 10 #include "net/quic/quic_connection.h" | 10 #include "net/quic/quic_connection.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 using net::test::QuicConnectionPeer; | 29 using net::test::QuicConnectionPeer; |
| 30 using net::test::QuicDataStreamPeer; | 30 using net::test::QuicDataStreamPeer; |
| 31 using net::test::QuicSentPacketManagerPeer; | 31 using net::test::QuicSentPacketManagerPeer; |
| 32 using net::test::QuicSessionPeer; | 32 using net::test::QuicSessionPeer; |
| 33 using net::test::QuicSustainedBandwidthRecorderPeer; | 33 using net::test::QuicSustainedBandwidthRecorderPeer; |
| 34 using net::test::SupportedVersions; | 34 using net::test::SupportedVersions; |
| 35 using net::test::ValueRestore; | 35 using net::test::ValueRestore; |
| 36 using net::test::kClientDataStreamId1; | 36 using net::test::kClientDataStreamId1; |
| 37 using net::test::kClientDataStreamId2; | 37 using net::test::kClientDataStreamId2; |
| 38 using net::test::kClientDataStreamId3; | 38 using net::test::kClientDataStreamId3; |
| 39 using net::test::kClientDataStreamId4; | |
| 40 using std::string; | 39 using std::string; |
| 41 using testing::StrictMock; | 40 using testing::StrictMock; |
| 42 using testing::_; | 41 using testing::_; |
| 43 | 42 |
| 44 namespace net { | 43 namespace net { |
| 45 namespace tools { | 44 namespace tools { |
| 46 namespace test { | 45 namespace test { |
| 47 | 46 |
| 48 class QuicServerSessionPeer { | 47 class QuicServerSessionPeer { |
| 49 public: | 48 public: |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 cached_network_params.set_serving_region(kTestServingRegion); | 422 cached_network_params.set_serving_region(kTestServingRegion); |
| 424 crypto_stream->set_previous_cached_network_params(cached_network_params); | 423 crypto_stream->set_previous_cached_network_params(cached_network_params); |
| 425 EXPECT_CALL(*connection_, ResumeConnectionState(_)).Times(1); | 424 EXPECT_CALL(*connection_, ResumeConnectionState(_)).Times(1); |
| 426 session_->OnConfigNegotiated(); | 425 session_->OnConfigNegotiated(); |
| 427 } | 426 } |
| 428 | 427 |
| 429 } // namespace | 428 } // namespace |
| 430 } // namespace test | 429 } // namespace test |
| 431 } // namespace tools | 430 } // namespace tools |
| 432 } // namespace net | 431 } // namespace net |
| OLD | NEW |