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

Unified Diff: ios/net/nsurlrequest_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_response_headers_util.mm ('k') | ios/net/protocol_handler_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/nsurlrequest_util.mm
diff --git a/ios/net/nsurlrequest_util.mm b/ios/net/nsurlrequest_util.mm
index a9488f8978b86fa3bc2504548fa780f37a01f11a..f09b7b52bd5e9cd514bd5ff04f47cb5facd1e536 100644
--- a/ios/net/nsurlrequest_util.mm
+++ b/ios/net/nsurlrequest_util.mm
@@ -6,6 +6,10 @@
#include "base/strings/stringprintf.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace net {
std::string FormatUrlRequestForLogging(NSURLRequest* request) {
« no previous file with comments | « ios/net/http_response_headers_util.mm ('k') | ios/net/protocol_handler_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698