| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Noting that test coverage for ChromePaymentRequestService's SPC flows are tracked in https://crbug.com/407538847.
// mSpcController is null when it is closed and before it is shown.nit: Add a note above mScpAuthnUiController and mNoMatchingController that they are being replaced by mSpcController.
if (mSpcController.show()) {
mJourneyLogger.setShown();
mPaymentRequestService.onUiDisplayed();
return null;
} else {
mSpcController = null;
return ErrorStrings.SPC_AUTHN_UI_SUPPRESSED;
}Can we share the lines 655-662, instead of duplicating here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// mSpcController is null when it is closed and before it is shown.nit: Add a note above mScpAuthnUiController and mNoMatchingController that they are being replaced by mSpcController.
Done
if (mSpcController.show()) {
mJourneyLogger.setShown();
mPaymentRequestService.onUiDisplayed();
return null;
} else {
mSpcController = null;
return ErrorStrings.SPC_AUTHN_UI_SUPPRESSED;
}Can we share the lines 655-662, instead of duplicating here?
Discussed offline. There isn't a simple solution to dedupe the code here due to the different controllers involved in the code.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi @ted...@chromium.org I'm adding you for an OWNERS review on `content_feature_map.cc`.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[spc][clank] Update ChromePaymentRequestService with the SPC Controller
Use the new SPC Controller in ChromePaymentRequestService if the
SecurePaymentConfirmationUxRefresh flag is on.
Replace usages of `assert != null` with `assertNonNull()` in
ChromePaymentRequestService.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |