OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CERT_X509_CERTIFICATE_H_ | 5 #ifndef NET_CERT_X509_CERTIFICATE_H_ |
6 #define NET_CERT_X509_CERTIFICATE_H_ | 6 #define NET_CERT_X509_CERTIFICATE_H_ |
7 | 7 |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/string_piece.h" | 15 #include "base/strings/string_piece.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
18 #include "net/cert/cert_type.h" | 18 #include "net/cert/cert_type.h" |
19 #include "net/cert/x509_cert_types.h" | 19 #include "net/cert/x509_cert_types.h" |
20 | 20 |
21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
22 #include <windows.h> | 22 #include <windows.h> |
23 #include <wincrypt.h> | 23 #include <wincrypt.h> |
24 #elif defined(OS_MACOSX) | 24 #elif defined(OS_MACOSX) |
25 #include <CoreFoundation/CFArray.h> | 25 #include <CoreFoundation/CFArray.h> |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 // based on the type of the certificate. | 501 // based on the type of the certificate. |
502 std::string default_nickname_; | 502 std::string default_nickname_; |
503 #endif | 503 #endif |
504 | 504 |
505 DISALLOW_COPY_AND_ASSIGN(X509Certificate); | 505 DISALLOW_COPY_AND_ASSIGN(X509Certificate); |
506 }; | 506 }; |
507 | 507 |
508 } // namespace net | 508 } // namespace net |
509 | 509 |
510 #endif // NET_CERT_X509_CERTIFICATE_H_ | 510 #endif // NET_CERT_X509_CERTIFICATE_H_ |
OLD | NEW |