OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "base/metrics/histogram.h" | 6 #include "base/metrics/histogram.h" |
7 #include "base/nss_util.h" | 7 #include "crypto/nss_util.h" |
8 #include "net/base/net_test_suite.h" | 8 #include "net/base/net_test_suite.h" |
9 | 9 |
10 int main(int argc, char** argv) { | 10 int main(int argc, char** argv) { |
11 // Record histograms, so we can get histograms data in tests. | 11 // Record histograms, so we can get histograms data in tests. |
12 base::StatisticsRecorder recorder; | 12 base::StatisticsRecorder recorder; |
13 NetTestSuite test_suite(argc, argv); | 13 NetTestSuite test_suite(argc, argv); |
14 | 14 |
15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
16 // We want to be sure to init NSPR on the main thread. | 16 // We want to be sure to init NSPR on the main thread. |
wtc
2011/04/07 05:35:53
This should be unnecessary now that we leak NSPR o
| |
17 base::EnsureNSPRInit(); | 17 crypto::EnsureNSPRInit(); |
18 #endif | 18 #endif |
19 | 19 |
20 return test_suite.Run(); | 20 return test_suite.Run(); |
21 } | 21 } |
OLD | NEW |