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 <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
15 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
16 #include "base/test/test_file_util.h" | 16 #include "base/test/test_file_util.h" |
17 #include "net/base/auth.h" | 17 #include "net/base/auth.h" |
18 #include "net/base/net_log_unittest.h" | 18 #include "net/base/net_log_unittest.h" |
19 #include "net/base/request_priority.h" | 19 #include "net/base/request_priority.h" |
20 #include "net/base/upload_bytes_element_reader.h" | 20 #include "net/base/upload_bytes_element_reader.h" |
(...skipping 6592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6613 TEST_P(SpdyNetworkTransactionTLSUsageCheckTest, TLSCipherSuiteSucky) { | 6613 TEST_P(SpdyNetworkTransactionTLSUsageCheckTest, TLSCipherSuiteSucky) { |
6614 scoped_ptr<SSLSocketDataProvider> ssl_provider( | 6614 scoped_ptr<SSLSocketDataProvider> ssl_provider( |
6615 new SSLSocketDataProvider(ASYNC, OK)); | 6615 new SSLSocketDataProvider(ASYNC, OK)); |
6616 // Set to TLS_RSA_WITH_NULL_MD5 | 6616 // Set to TLS_RSA_WITH_NULL_MD5 |
6617 SSLConnectionStatusSetCipherSuite(0x1, &ssl_provider->connection_status); | 6617 SSLConnectionStatusSetCipherSuite(0x1, &ssl_provider->connection_status); |
6618 | 6618 |
6619 RunTLSUsageCheckTest(ssl_provider.Pass()); | 6619 RunTLSUsageCheckTest(ssl_provider.Pass()); |
6620 } | 6620 } |
6621 | 6621 |
6622 } // namespace net | 6622 } // namespace net |
OLD | NEW |