Remove ARC boilerplate in /components
ARC is now enabled by default, so there’s no need to enforce it against files being put into non-ARC targets. Bug: 1468376 Change-Id: I5f684e471053c8f3a9c963c4a14453da11460465 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4739038 Auto-Submit: Avi Drissman <avi@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1178413}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
7b53fc53ac
commit
a4800ad29f
components
autofill
ios
browser
autofill_agent.mmautofill_agent_unittests.mmautofill_driver_ios.mmautofill_driver_ios_factory.mmautofill_java_script_feature.mmautofill_util.mmautofill_util_unittests.mmchild_frame_registration_java_script_feature.mmcredit_card_save_manager_test_observer_bridge.mmcredit_card_util.mmfake_autofill_agent.mmform_suggestion.mmform_suggestion_provider_query.mmform_suggestion_provider_query_unittests.mmpersonal_data_manager_observer_bridge.mmsuggestion_controller_java_script_feature.mm
form_util
autofill_test_with_web_state.mmfill_js_unittest.mmform_activity_observer_bridge.mmform_activity_observer_bridge_unittest.mmform_activity_params.mmform_activity_tab_helper.mmform_activity_tab_helper_fuzzer.mmform_activity_tab_helper_unittest.mmform_handlers_java_script_feature.mmform_handlers_unittest.mmform_unittest.mmform_util_java_script_feature.mmtest_form_activity_observer.mmtest_form_activity_tab_helper.mmunique_id_data_tab_helper.mmunique_id_data_tab_helper_unittest.mm
bookmarks
commerce
crash
cronet
ios
device_signals
core
dom_distiller
download
internal
background_service
favicon
handoff
history
image_fetcher
ios
language
ios
metal_util
metrics
nacl
ntp_tiles
open_from_clipboard
clipboard_async_wrapper_ios.mmclipboard_recent_content_impl_ios.mmclipboard_recent_content_ios.mmclipboard_recent_content_ios_unittest.mm
os_crypt
password_manager
ios
ios_password_manager_driver.mmios_password_manager_driver_factory.mmios_password_manager_driver_factory_unittest.mmios_password_manager_driver_unittest.mmpassword_controller_driver_helper.mmpassword_controller_driver_helper_unittest.mmpassword_form_helper.mmpassword_form_helper_unittest.mmpassword_manager_ios_util.mmpassword_manager_java_script_feature.mmpassword_manager_tab_helper.mmpassword_suggestion_helper.mmshared_password_controller.mmshared_password_controller_unittest.mm
policy
core
power_metrics
energy_impact_mac.mmenergy_impact_mac_unittest.mmm1_sensors_mac.mmmach_time_mac.mmresource_coalition_mac.mmresource_coalition_mac_unittest.mmsmc_mac.mm
prefs
previous_session_info
reading_list
remote_cocoa
app_shim
alert.halert.mmapplication_bridge.mmbridged_content_view.hbridged_content_view.mmbridged_content_view_touch_bar.mmbrowser_native_widget_window_mac.mmcertificate_viewer.mmcolor_panel_bridge.mmimmersive_mode_controller.himmersive_mode_controller.mmimmersive_mode_tabbed_controller.mmmouse_capture.mmnative_widget_mac_frameless_nswindow.mmnative_widget_mac_nswindow.mmnative_widget_ns_window_bridge.hnative_widget_ns_window_bridge.mmnative_widget_ns_window_fullscreen_controller.mmns_view_ids.hns_view_ids.mmselect_file_dialog_bridge.hselect_file_dialog_bridge.mmviews_nswindow_delegate.mmviews_scrollbar_bridge.mmwindow_move_loop.mm
browser
safe_browsing
ios
security_state
send_tab_to_self
services
sessions
ios
shared_highlighting
signin
ios
browser
public
identity_manager
spellcheck
browser
storage_monitor
image_capture_device.mmimage_capture_device_manager.himage_capture_device_manager.mmimage_capture_device_manager_unittest.mmstorage_monitor_mac.mmstorage_monitor_mac_unittest.mm
sync_device_info
system_media_controls
mac
translate
ios
browser
ui_devtools
ukm
user_education
viz
common
service
wifi
@ -66,10 +66,6 @@
|
||||
#import "ui/gfx/geometry/rect.h"
|
||||
#import "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using autofill::AutofillJavaScriptFeature;
|
||||
using autofill::FieldDataManager;
|
||||
using autofill::FieldRendererId;
|
||||
|
@ -38,10 +38,6 @@
|
||||
#include "ui/gfx/image/image_unittest_util.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using autofill::AutofillJavaScriptFeature;
|
||||
using autofill::FieldDataManager;
|
||||
using autofill::FieldRendererId;
|
||||
|
@ -17,10 +17,6 @@
|
||||
#include "ui/accessibility/ax_tree_id.h"
|
||||
#include "ui/gfx/geometry/rect_f.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
// static
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#include "components/autofill/ios/browser/autofill_driver_ios.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
AutofillDriverIOSFactory::AutofillDriverIOSFactory(
|
||||
|
@ -17,10 +17,6 @@
|
||||
#import "components/autofill/ios/browser/autofill_util.h"
|
||||
#import "components/autofill/ios/form_util/form_util_java_script_feature.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
const char kScriptName[] = "autofill_controller";
|
||||
|
||||
|
@ -28,10 +28,6 @@
|
||||
#include "url/gurl.h"
|
||||
#include "url/origin.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::NumberToString;
|
||||
using base::StringToUint;
|
||||
|
||||
|
@ -12,10 +12,6 @@
|
||||
#import "components/autofill/core/common/unique_ids.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using AutofillUtilTest = PlatformTest;
|
||||
|
||||
using autofill::ExtractIDs;
|
||||
|
@ -10,10 +10,6 @@
|
||||
#import "base/values.h"
|
||||
#import "ios/web/public/js_messaging/script_message.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
constexpr char kScriptName[] = "child_frame_registration";
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#include "base/check.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
CreditCardSaveManagerTestObserverBridge::
|
||||
|
@ -8,10 +8,6 @@
|
||||
#include "components/autofill/core/browser/autofill_type.h"
|
||||
#include "components/autofill/core/browser/data_model/credit_card.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
NSString* GetCreditCardName(const CreditCard& credit_card,
|
||||
|
@ -8,10 +8,6 @@
|
||||
#include "ios/web/public/thread/web_task_traits.h"
|
||||
#include "ios/web/public/thread/web_thread.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using autofill::FormRendererId;
|
||||
using autofill::FieldRendererId;
|
||||
|
||||
|
@ -4,10 +4,6 @@
|
||||
|
||||
#import "components/autofill/ios/browser/form_suggestion.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@implementation FormSuggestion
|
||||
|
||||
- (instancetype)initWithValue:(NSString*)value
|
||||
|
@ -4,10 +4,6 @@
|
||||
|
||||
#import "components/autofill/ios/browser/form_suggestion_provider_query.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@implementation FormSuggestionProviderQuery
|
||||
|
||||
- (BOOL)isOnPasswordField {
|
||||
|
@ -7,10 +7,6 @@
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using autofill::FormRendererId;
|
||||
using autofill::FieldRendererId;
|
||||
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#include "base/check.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
PersonalDataManagerObserverBridge::PersonalDataManagerObserverBridge(
|
||||
|
@ -13,10 +13,6 @@
|
||||
#include "base/values.h"
|
||||
#import "components/autofill/ios/browser/autofill_java_script_feature.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
namespace {
|
||||
|
@ -12,10 +12,6 @@
|
||||
#import "ios/web/public/test/web_test_with_web_state.h"
|
||||
#import "ios/web/public/web_client.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::test::ios::kWaitForJSCompletionTimeout;
|
||||
using base::test::ios::WaitUntilConditionOrTimeout;
|
||||
|
||||
|
@ -12,10 +12,6 @@
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#import "testing/gtest_mac.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
class FillJsTest : public web::WebTestWithWebState {
|
||||
|
@ -7,10 +7,6 @@
|
||||
#include "base/check_op.h"
|
||||
#include "components/autofill/ios/form_util/form_activity_tab_helper.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
FormActivityObserverBridge::FormActivityObserverBridge(
|
||||
web::WebState* web_state,
|
||||
|
@ -9,10 +9,6 @@
|
||||
#import "ios/web/public/test/fakes/fake_web_state.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@interface FakeFormActivityObserver : NSObject<FormActivityObserver>
|
||||
// Arguments passed to
|
||||
// |webState:didSubmitDocumentWithFormNamed:withData:userInitiated:inFrame:|.
|
||||
|
@ -7,10 +7,6 @@
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "ios/web/public/js_messaging/script_message.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
BaseFormActivityParams::BaseFormActivityParams() = default;
|
||||
|
@ -19,10 +19,6 @@
|
||||
#import "ios/web/public/js_messaging/web_frames_manager.h"
|
||||
#import "ios/web/public/ui/crw_web_view_proxy.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::SysUTF8ToNSString;
|
||||
|
||||
namespace autofill {
|
||||
|
@ -16,10 +16,6 @@
|
||||
#import "ios/web/public/web_state.h"
|
||||
#include "testing/libfuzzer/proto/lpm_interface.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::test::ios::kWaitForJSCompletionTimeout;
|
||||
using base::test::ios::WaitUntilConditionOrTimeout;
|
||||
|
||||
|
@ -18,10 +18,6 @@
|
||||
#import "ios/web/public/test/web_test_with_web_state.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::test::ios::kWaitForJSCompletionTimeout;
|
||||
using base::test::ios::WaitUntilConditionOrTimeout;
|
||||
using web::WebFrame;
|
||||
|
@ -11,10 +11,6 @@
|
||||
#import "components/password_manager/ios/password_manager_java_script_feature.h"
|
||||
#include "ios/web/public/js_messaging/java_script_feature_util.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
constexpr char kScriptName[] = "form_handlers";
|
||||
constexpr char kScriptMessageName[] = "FormHandlersMessage";
|
||||
|
@ -12,10 +12,6 @@
|
||||
#import "testing/gtest/include/gtest/gtest.h"
|
||||
#import "testing/gtest_mac.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::test::ios::kWaitForJSCompletionTimeout;
|
||||
using base::test::ios::WaitUntilConditionOrTimeout;
|
||||
|
||||
|
@ -15,10 +15,6 @@
|
||||
#import "ios/web/public/test/web_test_with_web_state.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using autofill::FieldRendererId;
|
||||
using autofill::FormRendererId;
|
||||
using base::test::ios::WaitUntilConditionOrTimeout;
|
||||
|
@ -8,10 +8,6 @@
|
||||
#include "base/values.h"
|
||||
#import "ios/web/public/js_messaging/java_script_feature_util.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
const char kFillScriptName[] = "fill";
|
||||
const char kFormScriptName[] = "form";
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
|
||||
TestSubmitDocumentInfo::TestSubmitDocumentInfo() {}
|
||||
|
@ -9,10 +9,6 @@
|
||||
#include "components/autofill/ios/form_util/form_activity_params.h"
|
||||
#include "components/autofill/ios/form_util/form_activity_tab_helper.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace autofill {
|
||||
TestFormActivityTabHelper::TestFormActivityTabHelper(web::WebState* web_state)
|
||||
: web_state_(web_state) {}
|
||||
|
@ -4,10 +4,6 @@
|
||||
|
||||
#include "components/autofill/ios/form_util/unique_id_data_tab_helper.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
UniqueIDDataTabHelper::~UniqueIDDataTabHelper() = default;
|
||||
|
||||
uint32_t UniqueIDDataTabHelper::GetNextAvailableRendererID() const {
|
||||
|
@ -9,10 +9,6 @@
|
||||
#import "testing/gtest_mac.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
// Test fixture for UniqueIDDataTabHelper class.
|
||||
class UniqueIDDataTabHelperTest : public PlatformTest {
|
||||
protected:
|
||||
|
@ -11,10 +11,6 @@
|
||||
#include "ui/base/dragdrop/os_exchange_data.h"
|
||||
#include "ui/base/dragdrop/os_exchange_data_provider_mac.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace bookmarks {
|
||||
|
||||
#if defined(TOOLKIT_VIEWS)
|
||||
|
@ -19,10 +19,6 @@
|
||||
#include "ui/base/clipboard/clipboard_constants.h"
|
||||
#include "ui/base/clipboard/clipboard_util_mac.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace bookmarks {
|
||||
|
||||
NSString* const kUTTypeChromiumBookmarkDictionaryList =
|
||||
|
@ -14,10 +14,6 @@
|
||||
#import "ios/web/public/webui/web_ui_ios_data_source.h"
|
||||
#import "ui/base/webui/resource_path.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace commerce {
|
||||
|
||||
CommerceInternalsUI::CommerceInternalsUI(web::WebUIIOS* web_ui,
|
||||
|
@ -8,10 +8,6 @@
|
||||
#include "ios/web/public/navigation/navigation_context.h"
|
||||
#include "ios/web/public/web_state.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace commerce {
|
||||
|
||||
CommerceTabHelper::CommerceTabHelper(web::WebState* state,
|
||||
|
@ -11,10 +11,6 @@
|
||||
#include "ios/web/public/js_messaging/web_frames_manager.h"
|
||||
#include "ios/web/public/web_state.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace commerce {
|
||||
|
||||
WebStateWrapper::WebStateWrapper(web::WebState* web_state)
|
||||
|
@ -20,10 +20,6 @@
|
||||
#include "third_party/crashpad/crashpad/minidump/minidump_simple_string_dictionary_writer.h"
|
||||
#include "third_party/crashpad/crashpad/util/misc/metrics.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace crash_reporter {
|
||||
|
||||
namespace {
|
||||
|
@ -13,10 +13,6 @@
|
||||
#include "testing/platform_test.h"
|
||||
#include "third_party/crashpad/crashpad/client/crash_report_database.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
// A class to temporarily set a crash reporter client.
|
||||
|
@ -30,10 +30,6 @@
|
||||
#include "third_party/crashpad/crashpad/minidump/minidump_file_writer.h"
|
||||
#include "third_party/crashpad/crashpad/snapshot/mac/process_snapshot_mac.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace crash_reporter {
|
||||
|
||||
namespace {
|
||||
|
@ -25,10 +25,6 @@
|
||||
#include "net/cert/cert_verifier.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
|
||||
|
||||
// Cronet NSError constants.
|
||||
NSString* const CRNCronetErrorDomain = @"CRNCronetErrorDomain";
|
||||
NSString* const CRNInvalidArgumentKey = @"CRNInvalidArgumentKey";
|
||||
|
@ -9,10 +9,6 @@
|
||||
#include "base/format_macros.h"
|
||||
#import "cronet_consumer_view_controller.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@implementation CronetConsumerAppDelegate {
|
||||
NSUInteger _counter;
|
||||
}
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#import <Cronet/Cronet.h>
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@implementation CronetConsumerViewController
|
||||
#if !defined(__IPHONE_12_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_12_0
|
||||
{
|
||||
|
@ -7,10 +7,6 @@
|
||||
|
||||
#import "cronet_consumer_app_delegate.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
@autoreleasepool {
|
||||
return UIApplicationMain(
|
||||
|
@ -56,10 +56,6 @@
|
||||
#include "url/scheme_host_port.h"
|
||||
#include "url/url_util.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
// Request context getter for Cronet.
|
||||
|
@ -16,10 +16,6 @@
|
||||
#include "net/proxy_resolution/proxy_config_service.h"
|
||||
#include "net/proxy_resolution/proxy_resolution_service.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
void InitializeOnMainThread() {
|
||||
|
@ -9,10 +9,6 @@
|
||||
#include "base/lazy_instance.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@implementation CronetTransactionMetrics
|
||||
|
||||
@synthesize request = _request;
|
||||
|
@ -10,10 +10,6 @@
|
||||
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@interface Cronet (ExposedForTesting)
|
||||
+ (NSString*)getAcceptLanguagesFromPreferredLanguages:
|
||||
(NSArray<NSString*>*)languages;
|
||||
|
@ -25,10 +25,6 @@
|
||||
|
||||
#include "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
// The buffer size of the stream for HTTPBodyStream post test.
|
||||
|
@ -13,10 +13,6 @@
|
||||
#include "testing/gtest_mac.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
// Forward declaration of class in cronet_metrics.h for testing.
|
||||
NS_AVAILABLE_IOS(10.0)
|
||||
@interface CronetTransactionMetrics : NSURLSessionTaskTransactionMetrics
|
||||
|
@ -10,10 +10,6 @@
|
||||
#include "net/test/quic_simple_test_server.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace cronet {
|
||||
|
||||
class NetLogTest : public ::testing::Test {
|
||||
|
@ -20,10 +20,6 @@
|
||||
#include "testing/gtest_mac.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
const int kTestIterations = 10;
|
||||
|
@ -15,10 +15,6 @@
|
||||
#include "testing/gtest_mac.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
const bool kIncludeSubdomains = true;
|
||||
const bool kExcludeSubdomains = false;
|
||||
|
@ -14,10 +14,6 @@
|
||||
#include "testing/gtest_mac.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace cronet {
|
||||
|
||||
class PrefsTest : public CronetTestBase {
|
||||
|
@ -14,10 +14,6 @@
|
||||
#include "testing/gtest_mac.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace cronet {
|
||||
|
||||
class QuicTest : public CronetTestBase {
|
||||
|
@ -16,10 +16,6 @@
|
||||
#include "net/test/quic_simple_test_server.h"
|
||||
#include "net/test/test_data_directory.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
#pragma mark
|
||||
|
||||
@implementation TestDelegate {
|
||||
|
@ -8,10 +8,6 @@
|
||||
#include "components/cronet/ios/test/start_cronet.h"
|
||||
#include "components/grpc_support/test/get_stream_engine.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@interface Cronet (ExposedForTesting)
|
||||
+ (void)shutdownForTesting;
|
||||
@end
|
||||
|
@ -9,10 +9,6 @@
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace cronet {
|
||||
|
||||
void StartCronet(int port) {
|
||||
|
@ -20,10 +20,6 @@
|
||||
#include "components/device_signals/core/browser/signals_types.h"
|
||||
#include "components/device_signals/core/common/platform_utils.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace device_signals {
|
||||
|
||||
namespace {
|
||||
|
@ -16,10 +16,6 @@
|
||||
#include "testing/gmock/include/gmock/gmock.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace device_signals {
|
||||
|
||||
class PlistSettingsClientTest : public testing::Test {
|
||||
|
@ -14,10 +14,6 @@
|
||||
#include "net/cert/asn1_util.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace device_signals {
|
||||
|
||||
namespace {
|
||||
|
@ -13,10 +13,6 @@
|
||||
#include "components/device_signals/test/test_constants.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace device_signals {
|
||||
|
||||
class MacPlatformDelegateTest : public testing::Test {
|
||||
|
@ -9,10 +9,6 @@
|
||||
#include "components/dom_distiller/ios/distiller_page_ios.h"
|
||||
#include "ios/web/public/browser_state.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace dom_distiller {
|
||||
|
||||
DistillerPageFactoryIOS::DistillerPageFactoryIOS(
|
||||
|
@ -23,10 +23,6 @@
|
||||
#import "ios/web/public/web_state.h"
|
||||
#include "ios/web/public/web_state_observer.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
// This is duplicated here from ios/web/js_messaging/web_view_js_utils.mm in
|
||||
|
@ -27,10 +27,6 @@
|
||||
#include "components/download/public/background_service/features.h"
|
||||
#include "net/base/mac/url_conversions.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
bool g_ignore_localhost_ssl_error_for_testing = false;
|
||||
}
|
||||
|
@ -20,10 +20,6 @@
|
||||
#import "net/test/embedded_test_server/http_request.h"
|
||||
#import "net/test/embedded_test_server/http_response.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using net::test_server::HttpRequest;
|
||||
using net::test_server::HttpResponse;
|
||||
using net::test_server::HttpMethod;
|
||||
|
@ -19,10 +19,6 @@
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace favicon {
|
||||
|
||||
gfx::Image WebFaviconDriver::GetFavicon() const {
|
||||
|
@ -19,10 +19,6 @@
|
||||
#include "base/mac/mac_util.h"
|
||||
#endif
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@interface HandoffManager ()
|
||||
|
||||
// The active user activity.
|
||||
|
@ -4,10 +4,6 @@
|
||||
|
||||
#include "components/handoff/handoff_utility.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace handoff {
|
||||
|
||||
NSString* const kChromeHandoffActivityType = @"com.google.chrome.handoff";
|
||||
|
@ -10,10 +10,6 @@
|
||||
#include "components/history/core/test/thumbnail-inl.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace history {
|
||||
|
||||
gfx::Image CreateGoogleThumbnailForTest() {
|
||||
|
@ -11,10 +11,6 @@
|
||||
#include "ios/web/public/navigation/navigation_item.h"
|
||||
#import "ios/web/public/navigation/navigation_manager.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace history {
|
||||
|
||||
WebStateTopSitesObserver::WebStateTopSitesObserver(web::WebState* web_state,
|
||||
|
@ -13,10 +13,6 @@
|
||||
#include "services/network/public/cpp/shared_url_loader_factory.h"
|
||||
#include "url/url_constants.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
#pragma mark - IOSImageDataFetcherWrapper
|
||||
|
||||
namespace image_fetcher {
|
||||
|
@ -21,10 +21,6 @@
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
const unsigned char kJPGImage[] = {
|
||||
|
@ -16,10 +16,6 @@
|
||||
#include "ui/gfx/geometry/size.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace image_fetcher {
|
||||
|
||||
class IOSImageDecoderImpl : public ImageDecoder {
|
||||
|
@ -13,10 +13,6 @@
|
||||
#include "ui/gfx/geometry/size.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
static unsigned char kJPGImage[] = {
|
||||
|
@ -25,10 +25,6 @@
|
||||
#import "ios/web/public/navigation/navigation_context.h"
|
||||
#include "net/http/http_response_headers.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace language {
|
||||
|
||||
// Note: This should stay in sync with the constant in language_detection.js.
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#include "base/check_op.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace language {
|
||||
|
||||
IOSLanguageDetectionTabHelperObserverBridge::
|
||||
|
@ -19,10 +19,6 @@
|
||||
#include "testing/gtest_mac.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
@interface TestIOSLanguageDetectionTabHelperObserver
|
||||
: NSObject <IOSLanguageDetectionTabHelperObserving>
|
||||
|
||||
|
@ -21,10 +21,6 @@
|
||||
#import "ios/web/public/test/fakes/fake_web_state.h"
|
||||
#import "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace language {
|
||||
|
||||
class IOSLanguageDetectionTabHelperTest : public PlatformTest {
|
||||
|
@ -13,10 +13,6 @@
|
||||
#import "ios/web/public/js_messaging/web_frame.h"
|
||||
#import "ios/web/public/js_messaging/web_frames_manager.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
// Name for the UMA metric used to track text extraction time.
|
||||
const char kTranslateCaptureText[] = "Translate.CaptureText";
|
||||
|
@ -9,10 +9,6 @@
|
||||
#import "testing/gtest/include/gtest/gtest.h"
|
||||
#import "testing/gtest_mac.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::test::ios::kWaitForJSCompletionTimeout;
|
||||
using base::test::ios::WaitUntilConditionOrTimeout;
|
||||
|
||||
|
@ -8,10 +8,6 @@
|
||||
|
||||
#include "base/logging.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace metal {
|
||||
|
||||
id<MTLDevice> GetDefaultDevice() {
|
||||
|
@ -8,10 +8,6 @@
|
||||
|
||||
#include "base/process/process.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace metal {
|
||||
|
||||
void RegisterGracefulExitOnDeviceRemoval() {
|
||||
|
@ -19,10 +19,6 @@
|
||||
#include "ui/gfx/hdr_metadata.h"
|
||||
#include "ui/gfx/hdr_metadata_mac.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
// Source of the shader to perform tonemapping. Note that the functions
|
||||
|
@ -8,10 +8,6 @@
|
||||
|
||||
#include "base/feature_list.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace metrics {
|
||||
namespace {
|
||||
|
||||
|
@ -4,10 +4,6 @@
|
||||
|
||||
#include "components/metrics/drive_metrics_provider.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace metrics {
|
||||
|
||||
// static
|
||||
|
@ -19,10 +19,6 @@
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace metrics {
|
||||
|
||||
// static
|
||||
|
@ -4,10 +4,6 @@
|
||||
|
||||
#include "components/nacl/loader/nacl_main_platform_delegate.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
void NaClMainPlatformDelegate::EnableSandbox(
|
||||
const content::MainFunctionParams& parameters) {
|
||||
// The sandbox on macOS is enabled as soon as main() executes, so there is
|
||||
|
@ -7,10 +7,6 @@
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "components/ntp_tiles/country_code_ios.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
std::string ntp_tiles::GetDeviceCountryCode() {
|
||||
NSString* country_code =
|
||||
[NSLocale.currentLocale objectForKey:NSLocaleCountryCode];
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#include "base/task/thread_pool.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
void GetGeneralPasteboard(bool asynchronous, PasteboardCallback callback) {
|
||||
if (asynchronous) {
|
||||
base::ThreadPool::PostTaskAndReplyWithResult(
|
||||
|
@ -14,10 +14,6 @@
|
||||
#include "base/system/sys_info.h"
|
||||
#include "components/open_from_clipboard/clipboard_async_wrapper_ios.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
ContentType const ContentTypeURL = @"ContentTypeURL";
|
||||
ContentType const ContentTypeText = @"ContentTypeString";
|
||||
ContentType const ContentTypeImage = @"ContentTypeImage";
|
||||
|
@ -20,10 +20,6 @@
|
||||
#include "url/gurl.h"
|
||||
#include "url/url_constants.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
// Schemes accepted by the ClipboardRecentContentIOS.
|
||||
|
@ -18,10 +18,6 @@
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using base::test::ios::WaitUntilConditionOrTimeout;
|
||||
using base::test::ios::kWaitForCookiesTimeout;
|
||||
using base::test::ios::kWaitForActionTimeout;
|
||||
|
@ -14,10 +14,6 @@
|
||||
#include "build/branding_buildflags.h"
|
||||
#include "crypto/apple_keychain.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using crypto::AppleKeychain;
|
||||
|
||||
#if defined(ALLOW_RUNTIME_CONFIGURABLE_KEY_STORAGE)
|
||||
|
@ -8,10 +8,6 @@
|
||||
#include "crypto/mock_apple_keychain.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
using crypto::MockAppleKeychain;
|
||||
|
@ -23,10 +23,6 @@
|
||||
#include "crypto/mock_apple_keychain.h"
|
||||
#include "crypto/symmetric_key.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
namespace os_crypt {
|
||||
class EncryptionKeyCreationUtil;
|
||||
}
|
||||
|
@ -14,10 +14,6 @@
|
||||
#import "components/password_manager/ios/password_manager_java_script_feature.h"
|
||||
#import "ios/web/public/js_messaging/web_frames_manager.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using password_manager::PasswordAutofillManager;
|
||||
using password_manager::PasswordManager;
|
||||
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#include "components/password_manager/core/browser/password_manager.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
// static
|
||||
IOSPasswordManagerDriver*
|
||||
IOSPasswordManagerDriverFactory::FromWebStateAndWebFrame(
|
||||
|
@ -17,10 +17,6 @@
|
||||
#import "testing/platform_test.h"
|
||||
#import "third_party/ocmock/OCMock/OCMock.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
class IOSPasswordManagerDriverFactoryTest : public PlatformTest {
|
||||
public:
|
||||
IOSPasswordManagerDriverFactoryTest() : PlatformTest() {
|
||||
|
@ -18,10 +18,6 @@
|
||||
#import "testing/platform_test.h"
|
||||
#import "third_party/ocmock/OCMock/OCMock.h"
|
||||
|
||||
#if !defined(__has_feature) || !__has_feature(objc_arc)
|
||||
#error "This file requires ARC support."
|
||||
#endif
|
||||
|
||||
using autofill::AutofillJavaScriptFeature;
|
||||
using base::SysNSStringToUTF8;
|
||||
using password_manager::PasswordManager;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user