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

Unified Diff: net/test/ct_test_util.h

Issue 2400183002: Cleanup: More accurate output parameter type for CTVerifier (Closed)
Patch Set: IWYU, review comments Created 4 years, 2 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/spdy/spdy_test_util_common.cc ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/ct_test_util.h
diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h
index 649b87c0824dcff28d707bbcd5555f06940caa98..7a52becfce1ca854f59442e43cbdecb13745363e 100644
--- a/net/test/ct_test_util.h
+++ b/net/test/ct_test_util.h
@@ -13,12 +13,12 @@
#include "base/memory/ref_counted.h"
#include "net/cert/signed_certificate_timestamp.h"
+#include "net/cert/signed_certificate_timestamp_and_status.h"
namespace net {
namespace ct {
-struct CTVerifyResult;
struct DigitallySigned;
struct LogEntry;
struct MerkleTreeLeaf;
@@ -120,11 +120,12 @@ std::string GetSCTListWithInvalidSCT();
// Returns true if |log_description| is in the |result|'s |verified_scts| and
// number of |verified_scts| in |result| is equal to 1.
-bool CheckForSingleVerifiedSCTInResult(const CTVerifyResult& result,
- const std::string& log_description);
+bool CheckForSingleVerifiedSCTInResult(
+ const SignedCertificateTimestampAndStatusList& scts,
+ const std::string& log_description);
// Returns true if |origin| is in the |result|'s |verified_scts|.
-bool CheckForSCTOrigin(const CTVerifyResult& result,
+bool CheckForSCTOrigin(const SignedCertificateTimestampAndStatusList& scts,
SignedCertificateTimestamp::Origin origin);
} // namespace ct
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698