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

Unified Diff: ios/chrome/test/testing_application_context.mm

Issue 2932273003: [ObjC ARC] Converts ios/chrome/test:test_support to ARC. (Closed)
Patch Set: Review feedback. 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
« no previous file with comments | « ios/chrome/test/scoped_key_window.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/testing_application_context.mm
diff --git a/ios/chrome/test/testing_application_context.mm b/ios/chrome/test/testing_application_context.mm
index 5de88dd34f144737726b888991038c1312bcabeb..424aaee1206413504e8387950a8a396a0cf91d23 100644
--- a/ios/chrome/test/testing_application_context.mm
+++ b/ios/chrome/test/testing_application_context.mm
@@ -12,6 +12,10 @@
#import "ios/public/provider/chrome/browser/chrome_browser_provider.h"
#include "net/url_request/url_request_context_getter.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
TestingApplicationContext::TestingApplicationContext()
: application_locale_("en"),
local_state_(nullptr),
« no previous file with comments | « ios/chrome/test/scoped_key_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698