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

Unified Diff: net/cert/cert_status_flags.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: net/cert/cert_status_flags.h
diff --git a/net/cert/cert_status_flags.h b/net/cert/cert_status_flags.h
index e2174077b8ab2d9aed80d6f6f38bb45aefcab536..f556e87309f770d9429e83db50afa4848423dd6a 100644
--- a/net/cert/cert_status_flags.h
+++ b/net/cert/cert_status_flags.h
@@ -19,26 +19,26 @@ typedef uint32 CertStatus;
// MACRO_STYLE for continuity, instead of renaming them to kConstantStyle as
// befits most static consts.
// Bits 0 to 15 are for errors.
-static const CertStatus CERT_STATUS_ALL_ERRORS = 0xFFFF;
-static const CertStatus CERT_STATUS_COMMON_NAME_INVALID = 1 << 0;
-static const CertStatus CERT_STATUS_DATE_INVALID = 1 << 1;
-static const CertStatus CERT_STATUS_AUTHORITY_INVALID = 1 << 2;
+static const CertStatus CERT_STATUS_ALL_ERRORS = 0xFFFF;
+static const CertStatus CERT_STATUS_COMMON_NAME_INVALID = 1 << 0;
+static const CertStatus CERT_STATUS_DATE_INVALID = 1 << 1;
+static const CertStatus CERT_STATUS_AUTHORITY_INVALID = 1 << 2;
// 1 << 3 is reserved for ERR_CERT_CONTAINS_ERRORS (not useful with WinHTTP).
-static const CertStatus CERT_STATUS_NO_REVOCATION_MECHANISM = 1 << 4;
+static const CertStatus CERT_STATUS_NO_REVOCATION_MECHANISM = 1 << 4;
static const CertStatus CERT_STATUS_UNABLE_TO_CHECK_REVOCATION = 1 << 5;
-static const CertStatus CERT_STATUS_REVOKED = 1 << 6;
-static const CertStatus CERT_STATUS_INVALID = 1 << 7;
-static const CertStatus CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = 1 << 8;
+static const CertStatus CERT_STATUS_REVOKED = 1 << 6;
+static const CertStatus CERT_STATUS_INVALID = 1 << 7;
+static const CertStatus CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = 1 << 8;
// 1 << 9 was used for CERT_STATUS_NOT_IN_DNS
-static const CertStatus CERT_STATUS_NON_UNIQUE_NAME = 1 << 10;
-static const CertStatus CERT_STATUS_WEAK_KEY = 1 << 11;
+static const CertStatus CERT_STATUS_NON_UNIQUE_NAME = 1 << 10;
+static const CertStatus CERT_STATUS_WEAK_KEY = 1 << 11;
// 1 << 12 was used for CERT_STATUS_WEAK_DH_KEY.
-static const CertStatus CERT_STATUS_PINNED_KEY_MISSING = 1 << 13;
-static const CertStatus CERT_STATUS_NAME_CONSTRAINT_VIOLATION = 1 << 14;
+static const CertStatus CERT_STATUS_PINNED_KEY_MISSING = 1 << 13;
+static const CertStatus CERT_STATUS_NAME_CONSTRAINT_VIOLATION = 1 << 14;
// Bits 16 to 31 are for non-error statuses.
-static const CertStatus CERT_STATUS_IS_EV = 1 << 16;
-static const CertStatus CERT_STATUS_REV_CHECKING_ENABLED = 1 << 17;
+static const CertStatus CERT_STATUS_IS_EV = 1 << 16;
+static const CertStatus CERT_STATUS_REV_CHECKING_ENABLED = 1 << 17;
// bit 18 was CERT_STATUS_IS_DNSSEC.
// Returns true if the specified cert status has an error set.

Powered by Google App Engine
This is Rietveld 408576698