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

Unified Diff: ios/chrome/browser/ui/authentication/signin_promo_view_mediator.mm

Issue 2880333003: Adding ChromeIdentity in ShowSigninCommand. (Closed)
Patch Set: . Created 3 years, 7 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
Index: ios/chrome/browser/ui/authentication/signin_promo_view_mediator.mm
diff --git a/ios/chrome/browser/ui/authentication/signin_promo_view_mediator.mm b/ios/chrome/browser/ui/authentication/signin_promo_view_mediator.mm
index d8dc94de9ca78c9e6abce5d5935eeccc0f5c5f9f..a5e5d46d6ef2520245d40b3f18e1c4761d959777 100644
--- a/ios/chrome/browser/ui/authentication/signin_promo_view_mediator.mm
+++ b/ios/chrome/browser/ui/authentication/signin_promo_view_mediator.mm
@@ -207,9 +207,11 @@ void RecordSigninNewAccountUserActionForAccessPoint(
RecordSigninUserActionForAccessPoint(_accessPoint);
RecordSigninDefaultUserActionForAccessPoint(_accessPoint);
ShowSigninCommand* command = [[ShowSigninCommand alloc]
- initWithOperation:AUTHENTICATION_OPERATION_SIGNIN_PROMO_CONTINUE_AS
+ initWithOperation:AUTHENTICATION_OPERATION_SIGNIN
+ identity:_defaultIdentity
accessPoint:_accessPoint
- promoAction:signin_metrics::PromoAction::PROMO_ACTION_WITH_DEFAULT];
+ promoAction:signin_metrics::PromoAction::PROMO_ACTION_WITH_DEFAULT
+ callback:nil];
[signinPromoView chromeExecuteCommand:command];
}

Powered by Google App Engine
This is Rietveld 408576698