| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_BASE_CERT_TEST_UTIL_H_ | |
| 6 #define NET_BASE_CERT_TEST_UTIL_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "build/build_config.h" | |
| 10 | |
| 11 class FilePath; | |
| 12 | |
| 13 namespace net { | |
| 14 | |
| 15 class X509Certificate; | |
| 16 | |
| 17 #if defined(USE_NSS) || defined(OS_MACOSX) || defined(USE_OPENSSL) | |
| 18 // Loads and trusts a root CA certificate (stored in a file) temporarily. | |
| 19 // TODO(wtc): Implement this function on Windows (http://crbug.com/8470). | |
| 20 X509Certificate* LoadTemporaryRootCert(const FilePath& filename); | |
| 21 #endif | |
| 22 | |
| 23 } // namespace net | |
| 24 | |
| 25 #endif // NET_BASE_CERT_TEST_UTIL_H_ | |
| OLD | NEW |