| 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 "base/metrics/statistics_recorder.h" | 5 #include "base/metrics/statistics_recorder.h" |
| 6 #include "base/test/launcher/unit_test_launcher.h" | 6 #include "base/test/launcher/unit_test_launcher.h" |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "crypto/nss_util.h" | 8 #include "crypto/nss_util.h" |
| 9 #include "net/socket/client_socket_pool_base.h" | 9 #include "net/socket/client_socket_pool_base.h" |
| 10 #include "net/socket/ssl_server_socket.h" | 10 #include "net/socket/ssl_server_socket.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 // Enable support for SSL server sockets, which must be done while | 46 // Enable support for SSL server sockets, which must be done while |
| 47 // single-threaded. | 47 // single-threaded. |
| 48 net::EnableSSLServerSockets(); | 48 net::EnableSSLServerSockets(); |
| 49 | 49 |
| 50 #if !defined(OS_IOS) | 50 #if !defined(OS_IOS) |
| 51 net::ProxyResolverV8::EnsureIsolateCreated(); | 51 net::ProxyResolverV8::EnsureIsolateCreated(); |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 return base::LaunchUnitTests( | 54 return base::LaunchUnitTests( |
| 55 argc, argv, base::Bind(&NetTestSuite::Run, | 55 argc, |
| 56 base::Unretained(&test_suite))); | 56 argv, |
| 57 base::Bind(&NetTestSuite::Run, base::Unretained(&test_suite))); |
| 57 } | 58 } |
| OLD | NEW |