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

Unified Diff: ios/web/public/test/crw_mock_web_state_delegate.mm

Issue 2937503004: [ObjC ARC] Converts ios/web:ios_web_public_unittests to ARC. (Closed)
Patch Set: 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/web/public/serializable_user_data_manager_unittest.mm ('k') | ios/web/public/user_agent_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/crw_mock_web_state_delegate.mm
diff --git a/ios/web/public/test/crw_mock_web_state_delegate.mm b/ios/web/public/test/crw_mock_web_state_delegate.mm
index fda453cec2b682b52c82cb78a512e57fc078041a..e19725d053b167b2df24d8dd267468f35fd72e34 100644
--- a/ios/web/public/test/crw_mock_web_state_delegate.mm
+++ b/ios/web/public/test/crw_mock_web_state_delegate.mm
@@ -7,6 +7,10 @@
#import "ios/web/public/web_state/context_menu_params.h"
#import "ios/web/public/web_state/web_state.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
@implementation CRWMockWebStateDelegate {
// Backs up the property with the same name.
std::unique_ptr<web::WebState::OpenURLParams> _openURLParams;
« no previous file with comments | « ios/web/public/serializable_user_data_manager_unittest.mm ('k') | ios/web/public/user_agent_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698