Index: ios/chrome/app/application_delegate/background_activity_unittest.mm |
diff --git a/ios/chrome/app/application_delegate/background_activity_unittest.mm b/ios/chrome/app/application_delegate/background_activity_unittest.mm |
index d9f4788a75e72c412b18622dd878d7abf1ea5bce..2c6a5d315473b57ee241979130c4ce5279adfc7b 100644 |
--- a/ios/chrome/app/application_delegate/background_activity_unittest.mm |
+++ b/ios/chrome/app/application_delegate/background_activity_unittest.mm |
@@ -14,6 +14,10 @@ |
#import "third_party/ocmock/OCMock/OCMock.h" |
#import "third_party/ocmock/gtest_support.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
// Verifies that -application:performFetchWithCompletionHandler: calls the |
// browser launcher in background state and uploads the report. |
TEST(BackgroundActivityTest, performFetchWithCompletionHandler) { |