[ios] Deletes Create() static method for SavePasswordInfobarDelegate
This is being done for three reasons mainly: - The delegate shouldn't be responsibly of manipulating the InfobarManager and creating the Infobars its being a delegate of. - This prevents dependency cycles since now InfobarCoordinator can include IOSChromeSavePasswordInfoBarDelegate. - While trying to test IOSChromeSavePasswordInfoBarDelegate having its default constructor private was making everything more complicated since there was more setup needed. Bug: 945478 Change-Id: I223d6ada2b939d9037bf030728a588051e28c115 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1585379 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#654500}
Showing
Please register or sign in to comment