| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/test/launcher/unit_test_launcher.h" | 5 #include "base/test/launcher/unit_test_launcher.h" |
| 6 #include "base/test/test_suite.h" | 6 #include "base/test/test_suite.h" |
| 7 #include "net/socket/ssl_server_socket.h" | |
| 8 | 7 |
| 9 int main(int argc, char** argv) { | 8 int main(int argc, char** argv) { |
| 10 base::TestSuite test_suite(argc, argv); | 9 base::TestSuite test_suite(argc, argv); |
| 11 | 10 |
| 12 // Enable support for SSL server sockets, which must be done while | |
| 13 // single-threaded. | |
| 14 net::EnableSSLServerSockets(); | |
| 15 | |
| 16 return base::LaunchUnitTests( | 11 return base::LaunchUnitTests( |
| 17 argc, argv, base::Bind(&base::TestSuite::Run, | 12 argc, argv, base::Bind(&base::TestSuite::Run, |
| 18 base::Unretained(&test_suite))); | 13 base::Unretained(&test_suite))); |
| 19 } | 14 } |
| OLD | NEW |