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

Unified Diff: net/cert/cert_policy_enforcer.cc

Issue 1059843002: Refactor NetLog::LogLevel --> NetLogCaptureMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again to fix a merge conflict Created 5 years, 8 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/base/sdch_net_log_params.cc ('k') | net/cert/ct_signed_certificate_timestamp_log_param.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_policy_enforcer.cc
diff --git a/net/cert/cert_policy_enforcer.cc b/net/cert/cert_policy_enforcer.cc
index d4bae50cec7bf30e85503b75b0b6d7b74166d6cc..4c6d38d204091f0871e84492f5cb3b89c6e4fc74 100644
--- a/net/cert/cert_policy_enforcer.cc
+++ b/net/cert/cert_policy_enforcer.cc
@@ -185,11 +185,12 @@ struct ComplianceDetails {
base::Version whitelist_version;
};
-base::Value* NetLogComplianceCheckResultCallback(X509Certificate* cert,
- ComplianceDetails* details,
- NetLog::LogLevel log_level) {
+base::Value* NetLogComplianceCheckResultCallback(
+ X509Certificate* cert,
+ ComplianceDetails* details,
+ NetLogCaptureMode capture_mode) {
base::DictionaryValue* dict = new base::DictionaryValue();
- dict->Set("certificate", NetLogX509CertificateCallback(cert, log_level));
+ dict->Set("certificate", NetLogX509CertificateCallback(cert, capture_mode));
dict->SetBoolean("policy_enforcement_required",
details->ct_presence_required);
if (details->ct_presence_required) {
« no previous file with comments | « net/base/sdch_net_log_params.cc ('k') | net/cert/ct_signed_certificate_timestamp_log_param.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698