| 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 <utility> | 7 #include <utility> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "net/http/http_server_properties.h" | 30 #include "net/http/http_server_properties.h" |
| 31 #include "net/http/http_transaction_test_util.h" | 31 #include "net/http/http_transaction_test_util.h" |
| 32 #include "net/log/net_log_event_type.h" | 32 #include "net/log/net_log_event_type.h" |
| 33 #include "net/log/net_log_with_source.h" | 33 #include "net/log/net_log_with_source.h" |
| 34 #include "net/log/test_net_log.h" | 34 #include "net/log/test_net_log.h" |
| 35 #include "net/log/test_net_log_entry.h" | 35 #include "net/log/test_net_log_entry.h" |
| 36 #include "net/log/test_net_log_util.h" | 36 #include "net/log/test_net_log_util.h" |
| 37 #include "net/proxy/proxy_server.h" | 37 #include "net/proxy/proxy_server.h" |
| 38 #include "net/socket/client_socket_pool_base.h" | 38 #include "net/socket/client_socket_pool_base.h" |
| 39 #include "net/socket/next_proto.h" | 39 #include "net/socket/next_proto.h" |
| 40 #include "net/spdy/buffered_spdy_framer.h" | 40 #include "net/spdy/chromium/buffered_spdy_framer.h" |
| 41 #include "net/spdy/chromium/spdy_http_stream.h" |
| 42 #include "net/spdy/chromium/spdy_http_utils.h" |
| 43 #include "net/spdy/chromium/spdy_session.h" |
| 44 #include "net/spdy/chromium/spdy_session_pool.h" |
| 45 #include "net/spdy/chromium/spdy_test_util_common.h" |
| 46 #include "net/spdy/core/spdy_protocol.h" |
| 47 #include "net/spdy/core/spdy_test_utils.h" |
| 41 #include "net/spdy/platform/api/spdy_string.h" | 48 #include "net/spdy/platform/api/spdy_string.h" |
| 42 #include "net/spdy/platform/api/spdy_string_piece.h" | 49 #include "net/spdy/platform/api/spdy_string_piece.h" |
| 43 #include "net/spdy/spdy_http_stream.h" | |
| 44 #include "net/spdy/spdy_http_utils.h" | |
| 45 #include "net/spdy/spdy_protocol.h" | |
| 46 #include "net/spdy/spdy_session.h" | |
| 47 #include "net/spdy/spdy_session_pool.h" | |
| 48 #include "net/spdy/spdy_test_util_common.h" | |
| 49 #include "net/spdy/spdy_test_utils.h" | |
| 50 #include "net/ssl/ssl_connection_status_flags.h" | 50 #include "net/ssl/ssl_connection_status_flags.h" |
| 51 #include "net/test/cert_test_util.h" | 51 #include "net/test/cert_test_util.h" |
| 52 #include "net/test/gtest_util.h" | 52 #include "net/test/gtest_util.h" |
| 53 #include "net/test/test_data_directory.h" | 53 #include "net/test/test_data_directory.h" |
| 54 #include "net/url_request/url_request_test_util.h" | 54 #include "net/url_request/url_request_test_util.h" |
| 55 #include "testing/gmock/include/gmock/gmock.h" | 55 #include "testing/gmock/include/gmock/gmock.h" |
| 56 #include "testing/platform_test.h" | 56 #include "testing/platform_test.h" |
| 57 | 57 |
| 58 using net::test::IsError; | 58 using net::test::IsError; |
| 59 using net::test::IsOk; | 59 using net::test::IsOk; |
| (...skipping 6574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6634 TEST_F(SpdyNetworkTransactionTLSUsageCheckTest, TLSCipherSuiteSucky) { | 6634 TEST_F(SpdyNetworkTransactionTLSUsageCheckTest, TLSCipherSuiteSucky) { |
| 6635 std::unique_ptr<SSLSocketDataProvider> ssl_provider( | 6635 std::unique_ptr<SSLSocketDataProvider> ssl_provider( |
| 6636 new SSLSocketDataProvider(ASYNC, OK)); | 6636 new SSLSocketDataProvider(ASYNC, OK)); |
| 6637 // Set to TLS_RSA_WITH_NULL_MD5 | 6637 // Set to TLS_RSA_WITH_NULL_MD5 |
| 6638 SSLConnectionStatusSetCipherSuite(0x1, &ssl_provider->connection_status); | 6638 SSLConnectionStatusSetCipherSuite(0x1, &ssl_provider->connection_status); |
| 6639 | 6639 |
| 6640 RunTLSUsageCheckTest(std::move(ssl_provider)); | 6640 RunTLSUsageCheckTest(std::move(ssl_provider)); |
| 6641 } | 6641 } |
| 6642 | 6642 |
| 6643 } // namespace net | 6643 } // namespace net |
| OLD | NEW |