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 <cmath> | 5 #include <cmath> |
6 #include <memory> | 6 #include <memory> |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "net/base/request_priority.h" | 24 #include "net/base/request_priority.h" |
25 #include "net/base/test_proxy_delegate.h" | 25 #include "net/base/test_proxy_delegate.h" |
26 #include "net/base/upload_bytes_element_reader.h" | 26 #include "net/base/upload_bytes_element_reader.h" |
27 #include "net/base/upload_file_element_reader.h" | 27 #include "net/base/upload_file_element_reader.h" |
28 #include "net/http/http_auth_scheme.h" | 28 #include "net/http/http_auth_scheme.h" |
29 #include "net/http/http_network_session_peer.h" | 29 #include "net/http/http_network_session_peer.h" |
30 #include "net/http/http_network_transaction.h" | 30 #include "net/http/http_network_transaction.h" |
31 #include "net/http/http_server_properties.h" | 31 #include "net/http/http_server_properties.h" |
32 #include "net/http/http_transaction_test_util.h" | 32 #include "net/http/http_transaction_test_util.h" |
33 #include "net/log/net_log_event_type.h" | 33 #include "net/log/net_log_event_type.h" |
| 34 #include "net/log/net_log_with_source.h" |
34 #include "net/log/test_net_log.h" | 35 #include "net/log/test_net_log.h" |
35 #include "net/log/test_net_log_entry.h" | 36 #include "net/log/test_net_log_entry.h" |
36 #include "net/log/test_net_log_util.h" | 37 #include "net/log/test_net_log_util.h" |
37 #include "net/proxy/proxy_server.h" | 38 #include "net/proxy/proxy_server.h" |
38 #include "net/socket/client_socket_pool_base.h" | 39 #include "net/socket/client_socket_pool_base.h" |
39 #include "net/socket/next_proto.h" | 40 #include "net/socket/next_proto.h" |
40 #include "net/spdy/buffered_spdy_framer.h" | 41 #include "net/spdy/buffered_spdy_framer.h" |
41 #include "net/spdy/spdy_http_stream.h" | 42 #include "net/spdy/spdy_http_stream.h" |
42 #include "net/spdy/spdy_http_utils.h" | 43 #include "net/spdy/spdy_http_utils.h" |
43 #include "net/spdy/spdy_session.h" | 44 #include "net/spdy/spdy_session.h" |
(...skipping 6318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6362 TEST_F(SpdyNetworkTransactionTLSUsageCheckTest, TLSCipherSuiteSucky) { | 6363 TEST_F(SpdyNetworkTransactionTLSUsageCheckTest, TLSCipherSuiteSucky) { |
6363 std::unique_ptr<SSLSocketDataProvider> ssl_provider( | 6364 std::unique_ptr<SSLSocketDataProvider> ssl_provider( |
6364 new SSLSocketDataProvider(ASYNC, OK)); | 6365 new SSLSocketDataProvider(ASYNC, OK)); |
6365 // Set to TLS_RSA_WITH_NULL_MD5 | 6366 // Set to TLS_RSA_WITH_NULL_MD5 |
6366 SSLConnectionStatusSetCipherSuite(0x1, &ssl_provider->connection_status); | 6367 SSLConnectionStatusSetCipherSuite(0x1, &ssl_provider->connection_status); |
6367 | 6368 |
6368 RunTLSUsageCheckTest(std::move(ssl_provider)); | 6369 RunTLSUsageCheckTest(std::move(ssl_provider)); |
6369 } | 6370 } |
6370 | 6371 |
6371 } // namespace net | 6372 } // namespace net |
OLD | NEW |