I'm fine with the change, but you'll need to fix the tests.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I'm fine with the change, but you'll need to fix the tests.
| 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. |
[iOS] Add AutofillAIEntityEditMediatorDelegate
Because iOS Settings operate natively outside of a WebState context, the
AutofillAIEntityEditMediator relies on injected KeyedServices and lacks
direct access to a `Profile*`. Therefore, it could not easily evaluate
`autofill::CanPerformAutofillAiAction` to ensure the user is still
eligible to save to Google Wallet.
To resolve this cleanly without coupling the Mediator to the Profile:
1. Introduced `AutofillAIEntityEditMediatorDelegate` with a
`canPerformWalletSaveForType:` method.
2. `AutofillAIEntityEditCoordinator` now conforms to this protocol,
leveraging its access to `Browser` and `Profile` to call
`CanPerformAutofillAiAction`.
3. `AutofillAIEntityEditMediator` queries its delegate immediately
before triggering an asynchronous Wallet save. This guards against
edge cases where the user's eligibility changes (e.g., signing out
in another tab) while the settings view remains open.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |