Index: ios/web/navigation/crw_session_certificate_policy_manager.mm |
diff --git a/ios/web/navigation/crw_session_certificate_policy_manager.mm b/ios/web/navigation/crw_session_certificate_policy_manager.mm |
index 84880c352db8dc8afa1d963fb214e01fbc6e677c..5a1cadc77a93d4eb0fbdce2c9738d13e84218099 100644 |
--- a/ios/web/navigation/crw_session_certificate_policy_manager.mm |
+++ b/ios/web/navigation/crw_session_certificate_policy_manager.mm |
@@ -16,6 +16,10 @@ |
#include "net/base/hash_value.h" |
#include "net/cert/x509_certificate.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
// Break if we detect that CertStatus values changed, because we persist them on |
// disk and thus require them to be consistent. |
static_assert(net::CERT_STATUS_ALL_ERRORS == 0xFF00FFFF, |