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

Issue 2920853006: Removes usage of signin APIs that return scoped_nsobjects. (Closed)

Created:
3 years, 6 months ago by stkhapugin
Modified:
3 years, 6 months ago
Reviewers:
msarda, dcheng, lpromero
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Removes usage of signin APIs that return scoped_nsobjects. Returning scoped_nsobjects is against the philosophy of autoreleased objects being passed around. Refactoring methods and functions vending scoped_nsobjects allows for a cleaner transition to ARC later. This is CL 3/5. BUG=None TEST=None Review-Url: https://codereview.chromium.org/2920853006 Cr-Commit-Position: refs/heads/master@{#479691} Committed: https://chromium.googlesource.com/chromium/src/+/f46f8cdc0ebf789cc6be1ee524955cef93229111

Patch Set 1 #

Total comments: 8

Patch Set 2 : Reparent #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : rebase_fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -19 lines) Patch
M ios/chrome/browser/ui/authentication/chrome_signin_view_controller.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/authentication/signin_interaction_controller.mm View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm View 2 chunks +5 lines, -4 lines 0 comments Download
M ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h View 1 chunk +2 lines, -3 lines 0 comments Download
M ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm View 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 34 (18 generated)
stkhapugin
PTAL
3 years, 6 months ago (2017-06-02 14:00:19 UTC) #4
stkhapugin
+lpromero for settings OWNER, ptal
3 years, 6 months ago (2017-06-02 14:01:17 UTC) #6
lpromero
lgtm
3 years, 6 months ago (2017-06-02 14:09:25 UTC) #9
msarda
Some comments and nits. https://codereview.chromium.org/2920853006/diff/1/ios/public/provider/chrome/browser/signin/chrome_identity_service.h File ios/public/provider/chrome/browser/signin/chrome_identity_service.h (right): https://codereview.chromium.org/2920853006/diff/1/ios/public/provider/chrome/browser/signin/chrome_identity_service.h#newcode12 ios/public/provider/chrome/browser/signin/chrome_identity_service.h:12: #include "base/mac/scoped_nsobject.h" Remove this include. ...
3 years, 6 months ago (2017-06-08 23:21:07 UTC) #10
msarda
Some comments and nits that are not crucial. I am traveling tomorrow and I think ...
3 years, 6 months ago (2017-06-08 23:23:17 UTC) #11
stkhapugin
https://codereview.chromium.org/2920853006/diff/1/ios/public/provider/chrome/browser/signin/chrome_identity_service.h File ios/public/provider/chrome/browser/signin/chrome_identity_service.h (right): https://codereview.chromium.org/2920853006/diff/1/ios/public/provider/chrome/browser/signin/chrome_identity_service.h#newcode12 ios/public/provider/chrome/browser/signin/chrome_identity_service.h:12: #include "base/mac/scoped_nsobject.h" On 2017/06/08 23:21:06, msarda wrote: > Remove ...
3 years, 6 months ago (2017-06-12 15:49:32 UTC) #13
msarda
lgtm https://codereview.chromium.org/2920853006/diff/20001/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm File ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm (right): https://codereview.chromium.org/2920853006/diff/20001/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm#newcode512 ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm:512: UIViewController* accountDetails = Just out of curiosity, was ...
3 years, 6 months ago (2017-06-13 12:31:07 UTC) #14
stkhapugin
https://codereview.chromium.org/2920853006/diff/20001/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm File ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm (right): https://codereview.chromium.org/2920853006/diff/20001/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm#newcode512 ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm:512: UIViewController* accountDetails = On 2017/06/13 12:31:07, msarda wrote: > ...
3 years, 6 months ago (2017-06-15 12:28:43 UTC) #15
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/2920853006/20001
3 years, 6 months ago (2017-06-15 12:28:58 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/232493) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-15 12:30:49 UTC) #20
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/2920853006/40001
3 years, 6 months ago (2017-06-15 12:58:54 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/232502) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-15 13:06:46 UTC) #25
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/2920853006/60001
3 years, 6 months ago (2017-06-15 13:48:08 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/f46f8cdc0ebf789cc6be1ee524955cef93229111
3 years, 6 months ago (2017-06-15 14:07:50 UTC) #31
mrefaat
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2940063004/ by mrefaat@chromium.org. ...
3 years, 6 months ago (2017-06-15 22:38:53 UTC) #32
dcheng
3 years, 6 months ago (2017-06-16 00:40:57 UTC) #34
Message was sent while issue was closed.
Hi.

In the future, please associate CLs with multiple steps with a bug number.
Reverting this patch broke the waterfall, but it's not easy to find the rest of
the CLs that need to be reverted.

Powered by Google App Engine
This is Rietveld 408576698