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

Unified Diff: net/cert/cert_status_flags.h

Issue 1322193003: WKWebView(iOS9): correctly update SSL status for current navigation item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reland_cert_verification
Patch Set: Fixed typos Created 5 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
Index: net/cert/cert_status_flags.h
diff --git a/net/cert/cert_status_flags.h b/net/cert/cert_status_flags.h
index a766595fd0593f6ae31b9b48119ff8456d442b6b..2564ffa4bb0bcd2616976b70e103471f75ca75b7 100644
--- a/net/cert/cert_status_flags.h
+++ b/net/cert/cert_status_flags.h
@@ -25,6 +25,8 @@ typedef uint32_t CertStatus;
static const CertStatus CERT_STATUS_ALL_ERRORS = 0xFFFF;
+static const CertStatus CERT_STATUS_NON_ERROR_STATUSES = 0xFFFF << 16;
jww 2015/09/19 02:16:34 This is more something for rsleevi@ to address, bu
Ryan Sleevi 2015/09/19 12:45:38 It's not clear why this is needed at all.
Eugene But (OOO till 7-30) 2015/09/21 17:23:40 Yeah... removed...
+
// Returns true if the specified cert status has an error set.
static inline bool IsCertStatusError(CertStatus status) {
return (CERT_STATUS_ALL_ERRORS & status) != 0;

Powered by Google App Engine
This is Rietveld 408576698