Index: ios/chrome/browser/physical_web/start_physical_web_discovery.mm |
diff --git a/ios/chrome/browser/physical_web/start_physical_web_discovery.mm b/ios/chrome/browser/physical_web/start_physical_web_discovery.mm |
index 5f51776224f36a599c55e36265a5cb0149d19c0d..0a0734c1523fefa3d07d15e8b181bba26914cbb1 100644 |
--- a/ios/chrome/browser/physical_web/start_physical_web_discovery.mm |
+++ b/ios/chrome/browser/physical_web/start_physical_web_discovery.mm |
@@ -18,6 +18,10 @@ |
#include "ios/chrome/browser/search_engines/template_url_service_factory.h" |
#include "url/gurl.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
void StartPhysicalWebDiscovery(PrefService* pref_service, |
ios::ChromeBrowserState* browser_state) { |
// Do not scan if the Physical Web feature is disabled by a command line flag |