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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "net/quic/test_tools/crypto_test_utils.h" | 53 #include "net/quic/test_tools/crypto_test_utils.h" |
54 #include "net/quic/test_tools/mock_clock.h" | 54 #include "net/quic/test_tools/mock_clock.h" |
55 #include "net/quic/test_tools/mock_random.h" | 55 #include "net/quic/test_tools/mock_random.h" |
56 #include "net/quic/test_tools/quic_test_utils.h" | 56 #include "net/quic/test_tools/quic_test_utils.h" |
57 #include "net/socket/client_socket_factory.h" | 57 #include "net/socket/client_socket_factory.h" |
58 #include "net/socket/mock_client_socket_pool_manager.h" | 58 #include "net/socket/mock_client_socket_pool_manager.h" |
59 #include "net/socket/next_proto.h" | 59 #include "net/socket/next_proto.h" |
60 #include "net/socket/socket_performance_watcher.h" | 60 #include "net/socket/socket_performance_watcher.h" |
61 #include "net/socket/socket_performance_watcher_factory.h" | 61 #include "net/socket/socket_performance_watcher_factory.h" |
62 #include "net/socket/socket_test_util.h" | 62 #include "net/socket/socket_test_util.h" |
63 #include "net/spdy/spdy_frame_builder.h" | 63 #include "net/spdy/core/spdy_frame_builder.h" |
64 #include "net/spdy/spdy_framer.h" | 64 #include "net/spdy/core/spdy_framer.h" |
65 #include "net/ssl/ssl_config_service_defaults.h" | 65 #include "net/ssl/ssl_config_service_defaults.h" |
66 #include "net/test/cert_test_util.h" | 66 #include "net/test/cert_test_util.h" |
67 #include "net/test/gtest_util.h" | 67 #include "net/test/gtest_util.h" |
68 #include "net/test/test_data_directory.h" | 68 #include "net/test/test_data_directory.h" |
69 #include "net/url_request/url_request.h" | 69 #include "net/url_request/url_request.h" |
70 #include "net/url_request/url_request_job_factory_impl.h" | 70 #include "net/url_request/url_request_job_factory_impl.h" |
71 #include "net/url_request/url_request_test_util.h" | 71 #include "net/url_request/url_request_test_util.h" |
72 #include "testing/gmock/include/gmock/gmock.h" | 72 #include "testing/gmock/include/gmock/gmock.h" |
73 #include "testing/gtest/include/gtest/gtest.h" | 73 #include "testing/gtest/include/gtest/gtest.h" |
74 #include "testing/platform_test.h" | 74 #include "testing/platform_test.h" |
(...skipping 4618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4693 | 4693 |
4694 request_.url = GURL("https://mail.example.org/pushed.jpg"); | 4694 request_.url = GURL("https://mail.example.org/pushed.jpg"); |
4695 ChunkedUploadDataStream upload_data(0); | 4695 ChunkedUploadDataStream upload_data(0); |
4696 upload_data.AppendData("1", 1, true); | 4696 upload_data.AppendData("1", 1, true); |
4697 request_.upload_data_stream = &upload_data; | 4697 request_.upload_data_stream = &upload_data; |
4698 SendRequestAndExpectQuicResponse("and hello!"); | 4698 SendRequestAndExpectQuicResponse("and hello!"); |
4699 } | 4699 } |
4700 | 4700 |
4701 } // namespace test | 4701 } // namespace test |
4702 } // namespace net | 4702 } // namespace net |
OLD | NEW |