Index: ios/chrome/browser/ui/chrome_web_view_factory.mm |
diff --git a/ios/chrome/browser/ui/chrome_web_view_factory.mm b/ios/chrome/browser/ui/chrome_web_view_factory.mm |
index b1674ff8636cfd00611034ad29cc162400476dcd..c53d324340167e8b32b10ca07896fc8788bb2d54 100644 |
--- a/ios/chrome/browser/ui/chrome_web_view_factory.mm |
+++ b/ios/chrome/browser/ui/chrome_web_view_factory.mm |
@@ -6,7 +6,6 @@ |
#include "base/base64.h" |
#include "base/logging.h" |
-#include "base/mac/scoped_nsobject.h" |
#include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
#include "ios/web/net/request_group_util.h" |
#include "ios/web/net/request_tracker_impl.h" |
@@ -15,6 +14,10 @@ |
#include "net/url_request/url_request_context.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 |
+ |
NSString* const kExternalUserAgent = @"UIWebViewForExternalContent"; |
namespace ChromeWebView { |