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/http/http_network_layer.h" | 5 #include "net/http/http_network_layer.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "net/base/net_log.h" | 9 #include "net/base/net_log.h" |
10 #include "net/cert/mock_cert_verifier.h" | 10 #include "net/cert/mock_cert_verifier.h" |
11 #include "net/dns/mock_host_resolver.h" | 11 #include "net/dns/mock_host_resolver.h" |
12 #include "net/http/http_network_session.h" | 12 #include "net/http/http_network_session.h" |
13 #include "net/http/http_server_properties_impl.h" | 13 #include "net/http/http_server_properties_impl.h" |
14 #include "net/http/http_transaction_unittest.h" | 14 #include "net/http/http_transaction_test_util.h" |
15 #include "net/http/transport_security_state.h" | 15 #include "net/http/transport_security_state.h" |
16 #include "net/proxy/proxy_service.h" | 16 #include "net/proxy/proxy_service.h" |
17 #include "net/socket/socket_test_util.h" | 17 #include "net/socket/socket_test_util.h" |
18 #include "net/spdy/spdy_session_pool.h" | 18 #include "net/spdy/spdy_session_pool.h" |
19 #include "net/ssl/ssl_config_service_defaults.h" | 19 #include "net/ssl/ssl_config_service_defaults.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "testing/platform_test.h" | 21 #include "testing/platform_test.h" |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 | 24 |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 ASSERT_EQ(ERR_CONNECTION_RESET, callback.GetResult(rv)); | 825 ASSERT_EQ(ERR_CONNECTION_RESET, callback.GetResult(rv)); |
826 | 826 |
827 // If the response info is null, that means that any consumer won't | 827 // If the response info is null, that means that any consumer won't |
828 // see the network accessed bit set. | 828 // see the network accessed bit set. |
829 EXPECT_EQ(NULL, trans->GetResponseInfo()); | 829 EXPECT_EQ(NULL, trans->GetResponseInfo()); |
830 } | 830 } |
831 | 831 |
832 } // namespace | 832 } // namespace |
833 | 833 |
834 } // namespace net | 834 } // namespace net |
OLD | NEW |