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

Unified Diff: components/cast_certificate/cast_cert_validator.h

Issue 2205403002: Add production Cast CRL certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: components/cast_certificate/cast_cert_validator.h
diff --git a/components/cast_certificate/cast_cert_validator.h b/components/cast_certificate/cast_cert_validator.h
index be924be74da3713f8f2ec81db1c05b24d6642f87..f71a8a765478c316e6c2c6d30c95716132929642 100644
--- a/components/cast_certificate/cast_cert_validator.h
+++ b/components/cast_certificate/cast_cert_validator.h
@@ -109,6 +109,11 @@ std::unique_ptr<CertVerificationContext> CertVerificationContextImplForTest(
// Returns true if successful, false if nothing is changed.
bool SetTrustAnchorForTest(const std::string& cert) WARN_UNUSED_RESULT;
+// Exposed only for testing, not for use in production code.
+//
+// Resets CastTrustStore to the default set of roots.
+void ResetTrustAnchorForTest();
+
} // namespace cast_certificate
#endif // COMPONENTS_CAST_CERTIFICATE_CAST_CERT_VALIDATOR_H_
« no previous file with comments | « no previous file | components/cast_certificate/cast_cert_validator.cc » ('j') | components/cast_certificate/cast_cert_validator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698