| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <algorithm> | 6 #include <algorithm> |
| 7 | 7 |
| 8 #include "net/base/ssl_test_util.h" | 8 #include "net/base/ssl_test_util.h" |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include <ssl.h> | 22 #include <ssl.h> |
| 23 #include <sslerr.h> | 23 #include <sslerr.h> |
| 24 #include <pk11pub.h> | 24 #include <pk11pub.h> |
| 25 #undef Lock | 25 #undef Lock |
| 26 #include "base/nss_init.h" | 26 #include "base/nss_init.h" |
| 27 #endif | 27 #endif |
| 28 | 28 |
| 29 #include "base/file_util.h" | 29 #include "base/file_util.h" |
| 30 #include "base/logging.h" | 30 #include "base/logging.h" |
| 31 #include "base/path_service.h" | 31 #include "base/path_service.h" |
| 32 #include "base/platform_thread.h" | |
| 33 #include "base/string_util.h" | 32 #include "base/string_util.h" |
| 34 #include "net/base/tcp_pinger.h" | 33 #include "net/base/tcp_pinger.h" |
| 35 #include "net/base/host_resolver.h" | 34 #include "net/base/host_resolver.h" |
| 36 #include "net/base/tcp_client_socket.h" | 35 #include "net/base/tcp_client_socket.h" |
| 37 #include "net/base/test_completion_callback.h" | 36 #include "net/base/test_completion_callback.h" |
| 38 #include "testing/platform_test.h" | 37 #include "testing/platform_test.h" |
| 39 | 38 |
| 40 #if defined(OS_WIN) | 39 #if defined(OS_WIN) |
| 41 #pragma comment(lib, "crypt32.lib") | 40 #pragma comment(lib, "crypt32.lib") |
| 42 #endif | 41 #endif |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 "certificate to your trusted roots for this test to work. " | 345 "certificate to your trusted roots for this test to work. " |
| 347 "For more info visit:\n" | 346 "For more info visit:\n" |
| 348 "http://dev.chromium.org/developers/testing\n"; | 347 "http://dev.chromium.org/developers/testing\n"; |
| 349 return false; | 348 return false; |
| 350 } | 349 } |
| 351 #endif | 350 #endif |
| 352 return true; | 351 return true; |
| 353 } | 352 } |
| 354 | 353 |
| 355 } // namespace net | 354 } // namespace net |
| OLD | NEW |