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

Unified Diff: ios/net/url_scheme_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/request_tracker.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/url_scheme_util.mm
diff --git a/ios/net/url_scheme_util.mm b/ios/net/url_scheme_util.mm
index ebd77cc2d16c32bc9e08cf3ba3448124d48c731a..1de141548d577e8b01fb0d7ebace6a12227c1304 100644
--- a/ios/net/url_scheme_util.mm
+++ b/ios/net/url_scheme_util.mm
@@ -10,6 +10,10 @@
#include "base/strings/sys_string_conversions.h"
#include "url/gurl.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace net {
bool UrlSchemeIs(NSURL* url, NSString* scheme) {
« no previous file with comments | « ios/net/request_tracker.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698