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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/cert/x509_cert_types_win.cc ('k') | net/cert/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) 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_BASE_X509_CERTIFICATE_H_ 5 #ifndef NET_CERT_X509_CERTIFICATE_H_
6 #define NET_BASE_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/string_piece.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "net/base/cert_type.h"
18 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
19 #include "net/base/x509_cert_types.h" 18 #include "net/cert/cert_type.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>
26 #include <Security/SecBase.h> 26 #include <Security/SecBase.h>
27 27
28 #elif defined(USE_OPENSSL) 28 #elif defined(USE_OPENSSL)
29 // Forward declaration; real one in <x509.h> 29 // Forward declaration; real one in <x509.h>
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 // If this is empty, then GetDefaultNickname will return a generated name 500 // If this is empty, then GetDefaultNickname will return a generated name
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_BASE_X509_CERTIFICATE_H_ 510 #endif // NET_CERT_X509_CERTIFICATE_H_
OLDNEW
« no previous file with comments | « net/cert/x509_cert_types_win.cc ('k') | net/cert/x509_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698