| 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/chromium/quic_chromium_client_session.h" | 5 #include "net/quic/chromium/quic_chromium_client_session.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/rand_util.h" | 10 #include "base/rand_util.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "net/quic/core/quic_flags.h" | 32 #include "net/quic/core/quic_flags.h" |
| 33 #include "net/quic/core/quic_http_utils.h" | 33 #include "net/quic/core/quic_http_utils.h" |
| 34 #include "net/quic/core/quic_packet_writer.h" | 34 #include "net/quic/core/quic_packet_writer.h" |
| 35 #include "net/quic/test_tools/crypto_test_utils.h" | 35 #include "net/quic/test_tools/crypto_test_utils.h" |
| 36 #include "net/quic/test_tools/mock_crypto_client_stream_factory.h" | 36 #include "net/quic/test_tools/mock_crypto_client_stream_factory.h" |
| 37 #include "net/quic/test_tools/quic_client_promised_info_peer.h" | 37 #include "net/quic/test_tools/quic_client_promised_info_peer.h" |
| 38 #include "net/quic/test_tools/quic_spdy_session_peer.h" | 38 #include "net/quic/test_tools/quic_spdy_session_peer.h" |
| 39 #include "net/quic/test_tools/quic_test_packet_maker.h" | 39 #include "net/quic/test_tools/quic_test_packet_maker.h" |
| 40 #include "net/quic/test_tools/quic_test_utils.h" | 40 #include "net/quic/test_tools/quic_test_utils.h" |
| 41 #include "net/quic/test_tools/simple_quic_framer.h" | 41 #include "net/quic/test_tools/simple_quic_framer.h" |
| 42 #include "net/socket/datagram_client_socket.h" |
| 42 #include "net/socket/socket_test_util.h" | 43 #include "net/socket/socket_test_util.h" |
| 43 #include "net/spdy/spdy_test_utils.h" | 44 #include "net/spdy/spdy_test_utils.h" |
| 44 #include "net/test/cert_test_util.h" | 45 #include "net/test/cert_test_util.h" |
| 45 #include "net/test/gtest_util.h" | 46 #include "net/test/gtest_util.h" |
| 46 #include "net/test/test_data_directory.h" | 47 #include "net/test/test_data_directory.h" |
| 47 #include "net/udp/datagram_client_socket.h" | |
| 48 #include "testing/gmock/include/gmock/gmock.h" | 48 #include "testing/gmock/include/gmock/gmock.h" |
| 49 | 49 |
| 50 using testing::_; | 50 using testing::_; |
| 51 | 51 |
| 52 namespace net { | 52 namespace net { |
| 53 namespace test { | 53 namespace test { |
| 54 namespace { | 54 namespace { |
| 55 | 55 |
| 56 const IPEndPoint kIpEndPoint = IPEndPoint(IPAddress::IPv4AllZeros(), 0); | 56 const IPEndPoint kIpEndPoint = IPEndPoint(IPAddress::IPv4AllZeros(), 0); |
| 57 const char kServerHostname[] = "test.example.com"; | 57 const char kServerHostname[] = "test.example.com"; |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 | 810 |
| 811 EXPECT_TRUE(socket_data_->AllReadDataConsumed()); | 811 EXPECT_TRUE(socket_data_->AllReadDataConsumed()); |
| 812 EXPECT_TRUE(socket_data_->AllWriteDataConsumed()); | 812 EXPECT_TRUE(socket_data_->AllWriteDataConsumed()); |
| 813 EXPECT_TRUE(new_socket_data.AllReadDataConsumed()); | 813 EXPECT_TRUE(new_socket_data.AllReadDataConsumed()); |
| 814 EXPECT_TRUE(new_socket_data.AllWriteDataConsumed()); | 814 EXPECT_TRUE(new_socket_data.AllWriteDataConsumed()); |
| 815 } | 815 } |
| 816 | 816 |
| 817 } // namespace | 817 } // namespace |
| 818 } // namespace test | 818 } // namespace test |
| 819 } // namespace net | 819 } // namespace net |
| OLD | NEW |