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

Issue 2806323003: [ObjC ARC] Converts ios/chrome/browser/ui/settings:unit_tests to ARC. (Closed)

Created:
3 years, 8 months ago by stkhapugin
Modified:
3 years, 8 months ago
Reviewers:
lpromero
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, tfarina, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ObjC ARC] Converts ios/chrome/browser/ui/settings:unit_tests to ARC. Automatically generated ARCMigrate commit Notable issues: * added autorelease pools in tests related to SettingsNavigationControllerTest to fix memory issues, specifically early deallocation of SigninManager where the observers (SigninObserverBridge of SettingsCollectionViewController) stored in WeakNSObject are not deallocated yet (in autorelease pool) * Removes NS_RETURNS_RETAINED from a method that doesn't really need it BUG=624363 TEST=None Review-Url: https://codereview.chromium.org/2806323003 Cr-Commit-Position: refs/heads/master@{#464013} Committed: https://chromium.googlesource.com/chromium/src/+/996f406fabe039d6f6f44528b63e5e90b38d22cc

Patch Set 1 #

Patch Set 2 : Correctly redivide the target #

Patch Set 3 : [ObjC ARC] Converts ios/chrome/browser/ui/settings:unit_tests to ARC. #

Patch Set 4 : Merge targets back #

Patch Set 5 : Remove NS_RETURNS_RETAINED, fix unittests #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -178 lines) Patch
M ios/chrome/browser/payments/credit_card_edit_view_controller_unittest.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_items_display_view_controller_unittest.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_method_selection_view_controller_unittest.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_request_error_view_controller_unittest.mm View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_request_view_controller_unittest.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/shipping_address_selection_view_controller_unittest.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/shipping_option_selection_view_controller_unittest.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/collection_view/collection_view_controller_test.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/collection_view/collection_view_controller_test.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/settings/about_chrome_collection_view_controller_unittest.mm View 1 2 3 4 4 chunks +7 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/settings/autofill_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/autofill_profile_edit_collection_view_controller_unittest.mm View 3 chunks +8 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/settings/bandwidth_management_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/block_popups_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/content_settings_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/contextual_search_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +8 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/settings/dataplan_usage_collection_view_controller_unittest.mm View 1 2 3 4 3 chunks +9 lines, -6 lines 0 comments Download
M ios/chrome/browser/ui/settings/do_not_track_collection_view_controller_unittest.mm View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/settings/import_data_collection_view_controller_unittest.mm View 1 2 3 4 5 chunks +13 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/settings/native_apps_collection_view_controller_unittest.mm View 1 2 3 4 7 chunks +15 lines, -16 lines 0 comments Download
M ios/chrome/browser/ui/settings/password_details_collection_view_controller_unittest.mm View 1 2 3 4 7 chunks +12 lines, -9 lines 0 comments Download
M ios/chrome/browser/ui/settings/physical_web_collection_view_controller_unittest.mm View 1 2 3 4 3 chunks +9 lines, -6 lines 0 comments Download
M ios/chrome/browser/ui/settings/privacy_collection_view_controller_unittest.mm View 1 2 3 4 6 chunks +12 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/settings/save_passwords_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/search_engine_settings_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/settings_navigation_controller_unittest.mm View 1 2 3 4 7 chunks +71 lines, -63 lines 0 comments Download
M ios/chrome/browser/ui/settings/settings_root_collection_view_controller_unittest.mm View 1 2 4 chunks +13 lines, -11 lines 0 comments Download
M ios/chrome/browser/ui/settings/sync_create_passphrase_collection_view_controller_unittest.mm View 1 2 3 4 5 chunks +8 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/settings/sync_encryption_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/sync_encryption_passphrase_collection_view_controller_unittest.mm View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/settings/sync_settings_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/time_range_selector_collection_view_controller_unittest.mm View 1 2 3 4 4 chunks +15 lines, -13 lines 0 comments Download
M ios/chrome/browser/ui/settings/translate_collection_view_controller_unittest.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/settings/voicesearch_collection_view_controller_unittest.mm View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (17 generated)
stkhapugin
[ObjC ARC] Converts ios/chrome/browser/ui/settings:unit_tests to ARC. Automatically generated ARCMigrate commit Notable issues:None BUG=624363 TEST=None
3 years, 8 months ago (2017-04-10 16:59:16 UTC) #3
stkhapugin
PTAL. Mostly the changes are trivial, but if you want, I can try to split ...
3 years, 8 months ago (2017-04-12 14:00:59 UTC) #16
lpromero
lgtm
3 years, 8 months ago (2017-04-12 14:06:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2806323003/100001
3 years, 8 months ago (2017-04-12 14:06:44 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/996f406fabe039d6f6f44528b63e5e90b38d22cc
3 years, 8 months ago (2017-04-12 14:12:53 UTC) #22
stkhapugin
3 years, 8 months ago (2017-04-12 14:33:15 UTC) #23
Message was sent while issue was closed.
Thank you!

Powered by Google App Engine
This is Rietveld 408576698