| 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 <memory> | 5 #include <memory> |
| 6 #include <ostream> | 6 #include <ostream> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "net/quic/chromium/mock_quic_data.h" | 43 #include "net/quic/chromium/mock_quic_data.h" |
| 44 #include "net/quic/chromium/quic_chromium_alarm_factory.h" | 44 #include "net/quic/chromium/quic_chromium_alarm_factory.h" |
| 45 #include "net/quic/chromium/quic_http_utils.h" | 45 #include "net/quic/chromium/quic_http_utils.h" |
| 46 #include "net/quic/chromium/quic_stream_factory_peer.h" | 46 #include "net/quic/chromium/quic_stream_factory_peer.h" |
| 47 #include "net/quic/chromium/quic_test_packet_maker.h" | 47 #include "net/quic/chromium/quic_test_packet_maker.h" |
| 48 #include "net/quic/chromium/test_task_runner.h" | 48 #include "net/quic/chromium/test_task_runner.h" |
| 49 #include "net/quic/core/crypto/quic_decrypter.h" | 49 #include "net/quic/core/crypto/quic_decrypter.h" |
| 50 #include "net/quic/core/crypto/quic_encrypter.h" | 50 #include "net/quic/core/crypto/quic_encrypter.h" |
| 51 #include "net/quic/core/quic_framer.h" | 51 #include "net/quic/core/quic_framer.h" |
| 52 #include "net/quic/platform/api/quic_string_piece.h" | 52 #include "net/quic/platform/api/quic_string_piece.h" |
| 53 #include "net/quic/platform/impl/quic_test_impl.h" |
| 53 #include "net/quic/test_tools/crypto_test_utils.h" | 54 #include "net/quic/test_tools/crypto_test_utils.h" |
| 54 #include "net/quic/test_tools/mock_clock.h" | 55 #include "net/quic/test_tools/mock_clock.h" |
| 55 #include "net/quic/test_tools/mock_random.h" | 56 #include "net/quic/test_tools/mock_random.h" |
| 56 #include "net/quic/test_tools/quic_test_utils.h" | 57 #include "net/quic/test_tools/quic_test_utils.h" |
| 57 #include "net/socket/client_socket_factory.h" | 58 #include "net/socket/client_socket_factory.h" |
| 58 #include "net/socket/mock_client_socket_pool_manager.h" | 59 #include "net/socket/mock_client_socket_pool_manager.h" |
| 59 #include "net/socket/next_proto.h" | 60 #include "net/socket/next_proto.h" |
| 60 #include "net/socket/socket_performance_watcher.h" | 61 #include "net/socket/socket_performance_watcher.h" |
| 61 #include "net/socket/socket_performance_watcher_factory.h" | 62 #include "net/socket/socket_performance_watcher_factory.h" |
| 62 #include "net/socket/socket_test_util.h" | 63 #include "net/socket/socket_test_util.h" |
| (...skipping 4560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4623 | 4624 |
| 4624 request_.url = GURL("https://mail.example.org/pushed.jpg"); | 4625 request_.url = GURL("https://mail.example.org/pushed.jpg"); |
| 4625 ChunkedUploadDataStream upload_data(0); | 4626 ChunkedUploadDataStream upload_data(0); |
| 4626 upload_data.AppendData("1", 1, true); | 4627 upload_data.AppendData("1", 1, true); |
| 4627 request_.upload_data_stream = &upload_data; | 4628 request_.upload_data_stream = &upload_data; |
| 4628 SendRequestAndExpectQuicResponse("and hello!"); | 4629 SendRequestAndExpectQuicResponse("and hello!"); |
| 4629 } | 4630 } |
| 4630 | 4631 |
| 4631 } // namespace test | 4632 } // namespace test |
| 4632 } // namespace net | 4633 } // namespace net |
| OLD | NEW |