[ios] Use SaveCardMainAction for bannerInfobarButtonWasPressed:
SaveCard's acceptance action involves passing the card credentials to be saved. Thus, it can't use the InfobarBannerMainActionResponse like other InfoBars. Thus, the banner's response to bannerInfobarButtonWasPressed: will use SaveCardMainAction to accept the banner InfoBar action. Bug: 1071914 Change-Id: I9e5495f422cd43ea315a8b6096466e9ea2fb829f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2246951 Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Reviewed-by:Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#778883}
Showing
Please register or sign in to comment