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

Unified Diff: net/cert/multi_log_ct_verifier_unittest.cc

Issue 2315613002: Extracted NetLog class's inner enum types into their own enum classes and (Closed)
Patch Set: Ran "git cl format" on code. Much formatting ensued. Created 4 years, 3 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/multi_log_ct_verifier.cc ('k') | net/cert/multi_threaded_cert_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/multi_log_ct_verifier_unittest.cc
diff --git a/net/cert/multi_log_ct_verifier_unittest.cc b/net/cert/multi_log_ct_verifier_unittest.cc
index 200824082e0cfe8f897c597693c084acfda0497c..05af2d227deddaba09bda93c3cc43b865d9189a5 100644
--- a/net/cert/multi_log_ct_verifier_unittest.cc
+++ b/net/cert/multi_log_ct_verifier_unittest.cc
@@ -22,6 +22,7 @@
#include "net/cert/signed_certificate_timestamp.h"
#include "net/cert/x509_certificate.h"
#include "net/log/net_log.h"
+#include "net/log/net_log_source_type.h"
#include "net/log/test_net_log.h"
#include "net/log/test_net_log_entry.h"
#include "net/test/cert_test_util.h"
@@ -124,7 +125,7 @@ class MultiLogCTVerifierTest : public ::testing::Test {
ct::CTVerifyResult result;
TestNetLog net_log;
BoundNetLog bound_net_log =
- BoundNetLog::Make(&net_log, NetLog::SOURCE_CONNECT_JOB);
+ BoundNetLog::Make(&net_log, NetLogSourceType::CONNECT_JOB);
return verifier_->Verify(chain.get(),
std::string(),
@@ -137,7 +138,7 @@ class MultiLogCTVerifierTest : public ::testing::Test {
ct::CTVerifyResult result;
TestNetLog net_log;
BoundNetLog bound_net_log =
- BoundNetLog::Make(&net_log, NetLog::SOURCE_CONNECT_JOB);
+ BoundNetLog::Make(&net_log, NetLogSourceType::CONNECT_JOB);
return (VerifySinglePrecertificateChain(chain, bound_net_log, &result) &&
ct::CheckForSingleVerifiedSCTInResult(result, kLogDescription) &&
ct::CheckForSCTOrigin(
« no previous file with comments | « net/cert/multi_log_ct_verifier.cc ('k') | net/cert/multi_threaded_cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698