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

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

Issue 476013002: Mark two inner classes in net/ exported (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | net/websockets/websocket_inflater.h » ('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_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 5 #ifndef NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ~RequestParams(); 89 ~RequestParams();
90 90
91 bool operator<(const RequestParams& other) const; 91 bool operator<(const RequestParams& other) const;
92 92
93 std::string hostname; 93 std::string hostname;
94 int flags; 94 int flags;
95 std::vector<SHA1HashValue> hash_values; 95 std::vector<SHA1HashValue> hash_values;
96 }; 96 };
97 97
98 // CachedResult contains the result of a certificate verification. 98 // CachedResult contains the result of a certificate verification.
99 struct CachedResult { 99 struct NET_EXPORT_PRIVATE CachedResult {
100 CachedResult(); 100 CachedResult();
101 ~CachedResult(); 101 ~CachedResult();
102 102
103 int error; // The return value of CertVerifier::Verify. 103 int error; // The return value of CertVerifier::Verify.
104 CertVerifyResult result; // The output of CertVerifier::Verify. 104 CertVerifyResult result; // The output of CertVerifier::Verify.
105 }; 105 };
106 106
107 // Rather than having a single validity point along a monotonically increasing 107 // Rather than having a single validity point along a monotonically increasing
108 // timeline, certificate verification is based on falling within a range of 108 // timeline, certificate verification is based on falling within a range of
109 // the certificate's NotBefore and NotAfter and based on what the current 109 // the certificate's NotBefore and NotAfter and based on what the current
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 scoped_refptr<CertVerifyProc> verify_proc_; 163 scoped_refptr<CertVerifyProc> verify_proc_;
164 164
165 CertTrustAnchorProvider* trust_anchor_provider_; 165 CertTrustAnchorProvider* trust_anchor_provider_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier); 167 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier);
168 }; 168 };
169 169
170 } // namespace net 170 } // namespace net
171 171
172 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 172 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
OLDNEW
« no previous file with comments | « no previous file | net/websockets/websocket_inflater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698