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

Unified Diff: ios/web/public/test/http_server/html_response_provider_impl.mm

Issue 2923563005: [ObjC ARC] Converts ios/web/public/test/http_server:http_server to ARC. (Closed)
Patch Set: cleanup Created 3 years, 6 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: 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,

Powered by Google App Engine
This is Rietveld 408576698