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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_VERIFY_RESULT_H_ 5 #ifndef NET_CERT_CERT_VERIFY_RESULT_H_
6 #define NET_BASE_CERT_VERIFY_RESULT_H_ 6 #define NET_CERT_CERT_VERIFY_RESULT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "net/base/cert_status_flags.h" 10 #include "base/memory/ref_counted.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "base/memory/ref_counted.h" 12 #include "net/cert/cert_status_flags.h"
13 #include "net/base/x509_cert_types.h" 13 #include "net/cert/x509_cert_types.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class X509Certificate; 17 class X509Certificate;
18 18
19 // The result of certificate verification. 19 // The result of certificate verification.
20 class NET_EXPORT CertVerifyResult { 20 class NET_EXPORT CertVerifyResult {
21 public: 21 public:
22 CertVerifyResult(); 22 CertVerifyResult();
23 ~CertVerifyResult(); 23 ~CertVerifyResult();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // meaningless if the certificate was not trusted. 56 // meaningless if the certificate was not trusted.
57 bool is_issued_by_known_root; 57 bool is_issued_by_known_root;
58 58
59 // is_issued_by_additional_trust_anchor is true if the root CA used for this 59 // is_issued_by_additional_trust_anchor is true if the root CA used for this
60 // verification came from the list of additional trust anchors. 60 // verification came from the list of additional trust anchors.
61 bool is_issued_by_additional_trust_anchor; 61 bool is_issued_by_additional_trust_anchor;
62 }; 62 };
63 63
64 } // namespace net 64 } // namespace net
65 65
66 #endif // NET_BASE_CERT_VERIFY_RESULT_H_ 66 #endif // NET_CERT_CERT_VERIFY_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698