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

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

Issue 5162001: X.509-related cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More files broke Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « net/base/x509_cert_types_mac_unittest.cc ('k') | net/base/x509_certificate.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) 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 #ifndef NET_BASE_X509_CERTIFICATE_H_ 5 #ifndef NET_BASE_X509_CERTIFICATE_H_
6 #define NET_BASE_X509_CERTIFICATE_H_ 6 #define NET_BASE_X509_CERTIFICATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string.h> 9 #include <string.h>
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/ref_counted.h" 15 #include "base/ref_counted.h"
16 #include "base/string_piece.h" 16 #include "base/string_piece.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "net/base/x509_cert_types.h" 18 #include "net/base/x509_cert_types.h"
19 19
20 #if defined(OS_WIN) 20 #if defined(OS_WIN)
21 #include <windows.h> 21 #include <windows.h>
22 #include <wincrypt.h> 22 #include <wincrypt.h>
23 #elif defined(OS_MACOSX) 23 #elif defined(OS_MACOSX)
24 #include <CoreFoundation/CFArray.h> 24 #include <CoreFoundation/CFArray.h>
25 #include <Security/SecBase.h> 25 #include <Security/SecBase.h>
26
27 #include "base/lock.h"
26 #elif defined(USE_OPENSSL) 28 #elif defined(USE_OPENSSL)
27 // Forward declaration; real one in <x509.h> 29 // Forward declaration; real one in <x509.h>
28 struct x509_st; 30 struct x509_st;
29 typedef struct x509_store_st X509_STORE; 31 typedef struct x509_store_st X509_STORE;
30 #elif defined(USE_NSS) 32 #elif defined(USE_NSS)
31 // Forward declaration; real one in <cert.h> 33 // Forward declaration; real one in <cert.h>
32 struct CERTCertificateStr; 34 struct CERTCertificateStr;
33 #endif 35 #endif
34 36
35 class Pickle; 37 class Pickle;
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 336
335 // Where the certificate comes from. 337 // Where the certificate comes from.
336 Source source_; 338 Source source_;
337 339
338 DISALLOW_COPY_AND_ASSIGN(X509Certificate); 340 DISALLOW_COPY_AND_ASSIGN(X509Certificate);
339 }; 341 };
340 342
341 } // namespace net 343 } // namespace net
342 344
343 #endif // NET_BASE_X509_CERTIFICATE_H_ 345 #endif // NET_BASE_X509_CERTIFICATE_H_
OLDNEW
« no previous file with comments | « net/base/x509_cert_types_mac_unittest.cc ('k') | net/base/x509_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698