Index: ios/web/public/test/http_server/html_response_provider_impl.mm |
diff --git a/ios/web/public/test/http_server/html_response_provider_impl.mm b/ios/web/public/test/http_server/html_response_provider_impl.mm |
index 2b26e2067e42ec6cd8378bcc77a93bcf4274e087..d4413cb80cc90353e3f2e2a9b9b6cef1ffa6bb2b 100644 |
--- a/ios/web/public/test/http_server/html_response_provider_impl.mm |
+++ b/ios/web/public/test/http_server/html_response_provider_impl.mm |
@@ -9,6 +9,10 @@ |
#include "net/http/http_status_code.h" |
#include "url/gurl.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace { |
std::map<GURL, HtmlResponseProviderImpl::Response> BuildResponseMap( |
const std::map<GURL, std::string>& responses_body, |