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

Unified Diff: net/cert/cert_status_flags_list.h

Issue 574433002: Make the net logging code more compact. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Net logger, addressed nit. Created 6 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/base/net_log_logger.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_status_flags_list.h
diff --git a/net/cert/cert_status_flags_list.h b/net/cert/cert_status_flags_list.h
index a0fda43aeb5c82cfbea25b9709d13c00f0a55625..516631387d2db9968560c54d2aae155aaa39bc43 100644
--- a/net/cert/cert_status_flags_list.h
+++ b/net/cert/cert_status_flags_list.h
@@ -9,23 +9,23 @@
// The possible status bits for CertStatus.
// Bits 0 to 15 are for errors.
-CERT_STATUS_FLAG(COMMON_NAME_INVALID, 1 << 0);
-CERT_STATUS_FLAG(DATE_INVALID, 1 << 1);
-CERT_STATUS_FLAG(AUTHORITY_INVALID, 1 << 2);
+CERT_STATUS_FLAG(COMMON_NAME_INVALID, 1 << 0)
+CERT_STATUS_FLAG(DATE_INVALID, 1 << 1)
+CERT_STATUS_FLAG(AUTHORITY_INVALID, 1 << 2)
// 1 << 3 is reserved for ERR_CERT_CONTAINS_ERRORS (not useful with WinHTTP).
-CERT_STATUS_FLAG(NO_REVOCATION_MECHANISM, 1 << 4);
-CERT_STATUS_FLAG(UNABLE_TO_CHECK_REVOCATION, 1 << 5);
-CERT_STATUS_FLAG(REVOKED, 1 << 6);
-CERT_STATUS_FLAG(INVALID, 1 << 7);
-CERT_STATUS_FLAG(WEAK_SIGNATURE_ALGORITHM, 1 << 8);
+CERT_STATUS_FLAG(NO_REVOCATION_MECHANISM, 1 << 4)
+CERT_STATUS_FLAG(UNABLE_TO_CHECK_REVOCATION, 1 << 5)
+CERT_STATUS_FLAG(REVOKED, 1 << 6)
+CERT_STATUS_FLAG(INVALID, 1 << 7)
+CERT_STATUS_FLAG(WEAK_SIGNATURE_ALGORITHM, 1 << 8)
// 1 << 9 was used for CERT_STATUS_NOT_IN_DNS
-CERT_STATUS_FLAG(NON_UNIQUE_NAME, 1 << 10);
-CERT_STATUS_FLAG(WEAK_KEY, 1 << 11);
+CERT_STATUS_FLAG(NON_UNIQUE_NAME, 1 << 10)
+CERT_STATUS_FLAG(WEAK_KEY, 1 << 11)
// 1 << 12 was used for CERT_STATUS_WEAK_DH_KEY
-CERT_STATUS_FLAG(PINNED_KEY_MISSING, 1 << 13);
-CERT_STATUS_FLAG(NAME_CONSTRAINT_VIOLATION, 1 << 14);
+CERT_STATUS_FLAG(PINNED_KEY_MISSING, 1 << 13)
+CERT_STATUS_FLAG(NAME_CONSTRAINT_VIOLATION, 1 << 14)
// Bits 16 to 31 are for non-error statuses.
-CERT_STATUS_FLAG(IS_EV, 1 << 16);
-CERT_STATUS_FLAG(REV_CHECKING_ENABLED, 1 << 17);
+CERT_STATUS_FLAG(IS_EV, 1 << 16)
+CERT_STATUS_FLAG(REV_CHECKING_ENABLED, 1 << 17)
// Bit 18 was CERT_STATUS_IS_DNSSEC
« no previous file with comments | « net/base/net_log_logger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698