Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: net/base/cert_test_util.h

Issue 3855004: Make USE_OPENSSL and USE_NSS mutually exclusive (Closed)
Patch Set: wtc comments Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/base/cert_database.h ('k') | net/http/des.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 #ifndef NET_BASE_CERT_TEST_UTIL_H_ 5 #ifndef NET_BASE_CERT_TEST_UTIL_H_
6 #define NET_BASE_CERT_TEST_UTIL_H_ 6 #define NET_BASE_CERT_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 class FilePath; 11 class FilePath;
12 12
13 namespace net { 13 namespace net {
14 14
15 class X509Certificate; 15 class X509Certificate;
16 16
17 #if defined(USE_NSS) || defined(OS_MACOSX) 17 #if defined(USE_NSS) || defined(OS_MACOSX) || defined(USE_OPENSSL)
18 // Loads and trusts a root CA certificate (stored in a file) temporarily. 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). 19 // TODO(wtc): Implement this function on Windows (http://crbug.com/8470).
20 X509Certificate* LoadTemporaryRootCert(const FilePath& filename); 20 X509Certificate* LoadTemporaryRootCert(const FilePath& filename);
21 #endif 21 #endif
22 22
23 } // namespace net 23 } // namespace net
24 24
25 #endif // NET_BASE_CERT_TEST_UTIL_H_ 25 #endif // NET_BASE_CERT_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/base/cert_database.h ('k') | net/http/des.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698