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/http/http_network_transaction.h" | 5 #include "net/http/http_network_transaction.h" |
6 | 6 |
7 #include <math.h> // ceil | 7 #include <math.h> // ceil |
8 #include <stdarg.h> | 8 #include <stdarg.h> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "net/http/http_auth_challenge_tokenizer.h" | 39 #include "net/http/http_auth_challenge_tokenizer.h" |
40 #include "net/http/http_auth_handler_digest.h" | 40 #include "net/http/http_auth_handler_digest.h" |
41 #include "net/http/http_auth_handler_mock.h" | 41 #include "net/http/http_auth_handler_mock.h" |
42 #include "net/http/http_auth_handler_ntlm.h" | 42 #include "net/http/http_auth_handler_ntlm.h" |
43 #include "net/http/http_basic_stream.h" | 43 #include "net/http/http_basic_stream.h" |
44 #include "net/http/http_network_session.h" | 44 #include "net/http/http_network_session.h" |
45 #include "net/http/http_network_session_peer.h" | 45 #include "net/http/http_network_session_peer.h" |
46 #include "net/http/http_server_properties_impl.h" | 46 #include "net/http/http_server_properties_impl.h" |
47 #include "net/http/http_stream.h" | 47 #include "net/http/http_stream.h" |
48 #include "net/http/http_stream_factory.h" | 48 #include "net/http/http_stream_factory.h" |
49 #include "net/http/http_transaction_unittest.h" | 49 #include "net/http/http_transaction_test_util.h" |
50 #include "net/proxy/proxy_config_service_fixed.h" | 50 #include "net/proxy/proxy_config_service_fixed.h" |
51 #include "net/proxy/proxy_info.h" | 51 #include "net/proxy/proxy_info.h" |
52 #include "net/proxy/proxy_resolver.h" | 52 #include "net/proxy/proxy_resolver.h" |
53 #include "net/proxy/proxy_service.h" | 53 #include "net/proxy/proxy_service.h" |
54 #include "net/socket/client_socket_factory.h" | 54 #include "net/socket/client_socket_factory.h" |
55 #include "net/socket/client_socket_pool_manager.h" | 55 #include "net/socket/client_socket_pool_manager.h" |
56 #include "net/socket/mock_client_socket_pool_manager.h" | 56 #include "net/socket/mock_client_socket_pool_manager.h" |
57 #include "net/socket/next_proto.h" | 57 #include "net/socket/next_proto.h" |
58 #include "net/socket/socket_test_util.h" | 58 #include "net/socket/socket_test_util.h" |
59 #include "net/socket/ssl_client_socket.h" | 59 #include "net/socket/ssl_client_socket.h" |
(...skipping 13026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13086 EXPECT_EQ(ERR_IO_PENDING, rv); | 13086 EXPECT_EQ(ERR_IO_PENDING, rv); |
13087 | 13087 |
13088 rv = callback.WaitForResult(); | 13088 rv = callback.WaitForResult(); |
13089 EXPECT_EQ(ERR_CONNECTION_RESET, rv); | 13089 EXPECT_EQ(ERR_CONNECTION_RESET, rv); |
13090 | 13090 |
13091 const HttpResponseInfo* response = trans->GetResponseInfo(); | 13091 const HttpResponseInfo* response = trans->GetResponseInfo(); |
13092 EXPECT_TRUE(response == NULL); | 13092 EXPECT_TRUE(response == NULL); |
13093 } | 13093 } |
13094 | 13094 |
13095 } // namespace net | 13095 } // namespace net |
OLD | NEW |