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

Unified Diff: ios/net/http_response_headers_util.mm

Issue 2489533003: [ObjC ARC] Converts ios/net to ARC. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « ios/net/http_protocol_logging.mm ('k') | ios/net/nsurlrequest_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/http_response_headers_util.mm
diff --git a/ios/net/http_response_headers_util.mm b/ios/net/http_response_headers_util.mm
index 8f590ad670e6b7413cd191a9b6ff9865b545ba97..52a2ece23c1472d9494cb0b3d54d2fed847fc4e1 100644
--- a/ios/net/http_response_headers_util.mm
+++ b/ios/net/http_response_headers_util.mm
@@ -11,6 +11,10 @@
#include "base/strings/sys_string_conversions.h"
#include "net/http/http_util.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
// String format used to create the http status line from the status code and
// its localized description.
« no previous file with comments | « ios/net/http_protocol_logging.mm ('k') | ios/net/nsurlrequest_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698