| 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 <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 #include "net/proxy/proxy_server.h" | 76 #include "net/proxy/proxy_server.h" |
| 77 #include "net/proxy/proxy_service.h" | 77 #include "net/proxy/proxy_service.h" |
| 78 #include "net/socket/client_socket_factory.h" | 78 #include "net/socket/client_socket_factory.h" |
| 79 #include "net/socket/client_socket_pool.h" | 79 #include "net/socket/client_socket_pool.h" |
| 80 #include "net/socket/client_socket_pool_manager.h" | 80 #include "net/socket/client_socket_pool_manager.h" |
| 81 #include "net/socket/connection_attempts.h" | 81 #include "net/socket/connection_attempts.h" |
| 82 #include "net/socket/mock_client_socket_pool_manager.h" | 82 #include "net/socket/mock_client_socket_pool_manager.h" |
| 83 #include "net/socket/next_proto.h" | 83 #include "net/socket/next_proto.h" |
| 84 #include "net/socket/socket_test_util.h" | 84 #include "net/socket/socket_test_util.h" |
| 85 #include "net/socket/ssl_client_socket.h" | 85 #include "net/socket/ssl_client_socket.h" |
| 86 #include "net/spdy/spdy_framer.h" | 86 #include "net/spdy/chromium/spdy_session.h" |
| 87 #include "net/spdy/spdy_session.h" | 87 #include "net/spdy/chromium/spdy_session_pool.h" |
| 88 #include "net/spdy/spdy_session_pool.h" | 88 #include "net/spdy/chromium/spdy_test_util_common.h" |
| 89 #include "net/spdy/spdy_test_util_common.h" | 89 #include "net/spdy/core/spdy_framer.h" |
| 90 #include "net/ssl/default_channel_id_store.h" | 90 #include "net/ssl/default_channel_id_store.h" |
| 91 #include "net/ssl/ssl_cert_request_info.h" | 91 #include "net/ssl/ssl_cert_request_info.h" |
| 92 #include "net/ssl/ssl_config_service.h" | 92 #include "net/ssl/ssl_config_service.h" |
| 93 #include "net/ssl/ssl_config_service_defaults.h" | 93 #include "net/ssl/ssl_config_service_defaults.h" |
| 94 #include "net/ssl/ssl_info.h" | 94 #include "net/ssl/ssl_info.h" |
| 95 #include "net/ssl/ssl_private_key.h" | 95 #include "net/ssl/ssl_private_key.h" |
| 96 #include "net/test/cert_test_util.h" | 96 #include "net/test/cert_test_util.h" |
| 97 #include "net/test/gtest_util.h" | 97 #include "net/test/gtest_util.h" |
| 98 #include "net/test/test_data_directory.h" | 98 #include "net/test/test_data_directory.h" |
| 99 #include "net/websockets/websocket_handshake_stream_base.h" | 99 #include "net/websockets/websocket_handshake_stream_base.h" |
| (...skipping 16626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16726 TEST_F(HttpNetworkTransactionTest, MatchContentEncoding2) { | 16726 TEST_F(HttpNetworkTransactionTest, MatchContentEncoding2) { |
| 16727 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "", true); | 16727 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "", true); |
| 16728 } | 16728 } |
| 16729 | 16729 |
| 16730 TEST_F(HttpNetworkTransactionTest, MatchContentEncoding3) { | 16730 TEST_F(HttpNetworkTransactionTest, MatchContentEncoding3) { |
| 16731 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "gzip", | 16731 CheckContentEncodingMatching(&session_deps_, "identity;q=1, *;q=0", "gzip", |
| 16732 false); | 16732 false); |
| 16733 } | 16733 } |
| 16734 | 16734 |
| 16735 } // namespace net | 16735 } // namespace net |
| OLD | NEW |