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

Unified Diff: net/base/cert_verifier.h

Issue 10855168: Rename X509Certificate::VerifyFlags to CertVerifier::VerifyFlags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/cert_verify_proc.cc » ('j') | net/base/cert_verify_proc_openssl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verifier.h
diff --git a/net/base/cert_verifier.h b/net/base/cert_verifier.h
index de8b9b52cc8d3a2d4c813c88c03986574cbc7f88..ddf21797912168e359331b9cbca1843f1ed7773e 100644
--- a/net/base/cert_verifier.h
+++ b/net/base/cert_verifier.h
@@ -29,6 +29,12 @@ class NET_EXPORT CertVerifier {
// Opaque pointer type used to cancel outstanding requests.
typedef void* RequestHandle;
+ enum VerifyFlags {
+ VERIFY_REV_CHECKING_ENABLED = 1 << 0,
+ VERIFY_EV_CERT = 1 << 1,
+ VERIFY_CERT_IO_ENABLED = 1 << 2,
+ };
+
// When the verifier is destroyed, all certificate verification requests are
// canceled, and their completion callbacks will not be called.
virtual ~CertVerifier() {}
@@ -42,7 +48,7 @@ class NET_EXPORT CertVerifier {
// |verify_result->cert_status|, and the error code for the most serious
// error is returned.
//
- // |flags| is bitwise OR'd of X509Certificate::VerifyFlags.
+ // |flags| is bitwise OR'd of VerifyFlags.
// If VERIFY_REV_CHECKING_ENABLED is set in |flags|, certificate revocation
// checking is performed.
//
« no previous file with comments | « no previous file | net/base/cert_verify_proc.cc » ('j') | net/base/cert_verify_proc_openssl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698