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

Unified Diff: net/cert/internal/cert_errors.h

Issue 2755483008: Add initial CertVerifyProcBuiltin. (Closed)
Patch Set: type notimplemented properly Created 3 years, 9 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 | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/internal/cert_errors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/cert_errors.h
diff --git a/net/cert/internal/cert_errors.h b/net/cert/internal/cert_errors.h
index cd713ed42ec872f8697ea319fff442ec27c2e5de..f359e2ef0c6d1123ce847d11a1818ffb91ba15a8 100644
--- a/net/cert/internal/cert_errors.h
+++ b/net/cert/internal/cert_errors.h
@@ -139,6 +139,9 @@ class NET_EXPORT CertErrors {
// Dumps a textual representation of the errors for debugging purposes.
std::string ToDebugString() const;
+ // Returns true the error |id| was added to this CertErrors (at any depth).
+ bool ContainsError(CertErrorId id) const;
+
private:
// CertErrorScoper manipulates the CertErrors object.
friend class CertErrorScoper;
« no previous file with comments | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/internal/cert_errors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698