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

Issue 2880333003: Adding ChromeIdentity in ShowSigninCommand. (Closed)

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

Description

Adding ChromeIdentity in ShowSigninCommand. The chrome identity used to setup the SigninPromoView should be the one used for the sign-in using the operation AUTHENTICATION_OPERATION_SIGNIN_PROMO_CONTINUE_AS. BUG=661794 Review-Url: https://codereview.chromium.org/2880333003 Cr-Commit-Position: refs/heads/master@{#473606} Committed: https://chromium.googlesource.com/chromium/src/+/c1fe1f6a3c9e8e165f915a3f3545a894b6b90abe

Patch Set 1 #

Total comments: 8

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : Comment + DCHECK #

Total comments: 2

Patch Set 4 : DCHECK fix #

Patch Set 5 : Merge #

Patch Set 6 : Fixing the build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -19 lines) Patch
M ios/chrome/app/main_controller.mm View 1 2 3 4 5 4 chunks +4 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/authentication/signin_promo_view_mediator.mm View 1 1 chunk +4 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/commands/show_signin_command.h View 1 2 3 4 5 4 chunks +11 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/commands/show_signin_command.mm View 1 2 3 4 5 4 chunks +6 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (19 generated)
jlebel
Hello Mihai, Can you review this patch about adding the chrome identity in the command? ...
3 years, 7 months ago (2017-05-15 16:20:26 UTC) #7
msarda
https://codereview.chromium.org/2880333003/diff/60001/ios/chrome/app/main_controller.mm File ios/chrome/app/main_controller.mm (right): https://codereview.chromium.org/2880333003/diff/60001/ios/chrome/app/main_controller.mm#newcode2122 ios/chrome/app/main_controller.mm:2122: DCHECK(!identity); Remove this new DCHECK (see comment below). https://codereview.chromium.org/2880333003/diff/60001/ios/chrome/app/main_controller.mm#newcode2128 ...
3 years, 7 months ago (2017-05-16 13:33:54 UTC) #8
jlebel
https://codereview.chromium.org/2880333003/diff/60001/ios/chrome/app/main_controller.mm File ios/chrome/app/main_controller.mm (right): https://codereview.chromium.org/2880333003/diff/60001/ios/chrome/app/main_controller.mm#newcode2122 ios/chrome/app/main_controller.mm:2122: DCHECK(!identity); On 2017/05/16 13:33:53, msarda wrote: > Remove this ...
3 years, 7 months ago (2017-05-16 17:55:09 UTC) #9
jlebel
Hello Sylvain, Can you review this patch? Thanks,
3 years, 7 months ago (2017-05-16 17:55:29 UTC) #11
sdefresne
https://codereview.chromium.org/2880333003/diff/80001/ios/chrome/browser/ui/commands/show_signin_command.h File ios/chrome/browser/ui/commands/show_signin_command.h (right): https://codereview.chromium.org/2880333003/diff/80001/ios/chrome/browser/ui/commands/show_signin_command.h#newcode59 ios/chrome/browser/ui/commands/show_signin_command.h:59: // AUTHENTICATION_OPERATION_SIGNIN_PROMO_CONTINUE_AS (|identity should not be You are removing ...
3 years, 7 months ago (2017-05-17 08:49:01 UTC) #12
msarda
LGTM pending changes asked by Sylvain.
3 years, 7 months ago (2017-05-17 08:52:07 UTC) #13
jlebel
https://codereview.chromium.org/2880333003/diff/80001/ios/chrome/browser/ui/commands/show_signin_command.h File ios/chrome/browser/ui/commands/show_signin_command.h (right): https://codereview.chromium.org/2880333003/diff/80001/ios/chrome/browser/ui/commands/show_signin_command.h#newcode59 ios/chrome/browser/ui/commands/show_signin_command.h:59: // AUTHENTICATION_OPERATION_SIGNIN_PROMO_CONTINUE_AS (|identity should not be On 2017/05/17 08:49:01, ...
3 years, 7 months ago (2017-05-17 12:17:37 UTC) #14
sdefresne
https://codereview.chromium.org/2880333003/diff/100001/ios/chrome/browser/ui/commands/show_signin_command.mm File ios/chrome/browser/ui/commands/show_signin_command.mm (right): https://codereview.chromium.org/2880333003/diff/100001/ios/chrome/browser/ui/commands/show_signin_command.mm#newcode34 ios/chrome/browser/ui/commands/show_signin_command.mm:34: DCHECK(operation != AUTHENTICATION_OPERATION_SIGNIN && identity != nil); I think ...
3 years, 7 months ago (2017-05-17 12:45:55 UTC) #19
jlebel
Yes, you are right! Sorry... :( https://codereview.chromium.org/2880333003/diff/100001/ios/chrome/browser/ui/commands/show_signin_command.mm File ios/chrome/browser/ui/commands/show_signin_command.mm (right): https://codereview.chromium.org/2880333003/diff/100001/ios/chrome/browser/ui/commands/show_signin_command.mm#newcode34 ios/chrome/browser/ui/commands/show_signin_command.mm:34: DCHECK(operation != AUTHENTICATION_OPERATION_SIGNIN ...
3 years, 7 months ago (2017-05-17 13:11:06 UTC) #20
sdefresne
lgtm On 2017/05/17 13:11:06, jlebel wrote: > Yes, you are right! Sorry... :( No need ...
3 years, 7 months ago (2017-05-17 13:37:53 UTC) #21
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/2880333003/160001
3 years, 7 months ago (2017-05-22 16:59:00 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 17:12:43 UTC) #31
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/c1fe1f6a3c9e8e165f915a3f3545...

Powered by Google App Engine
This is Rietveld 408576698