[ios] Records manually presented Password Infobars.

- Adds infobarModalPresentedFromBanner to InfobarCoordinatorImplementation
so the subclass can know how the Modal is being presented.
- Adds RecordMetricsForInfobarManualPresentation to record any manual
presentation.
- Adds RecordMetricsForInfobarDismiss to record any View dismissal.

Bug: 945478
Change-Id: Ife9884686a99e9745ba888a4cbf6aea2920ee4ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1602172
Commit-Queue: Sergio Collazos <sczs@chromium.org>
Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
Reviewed-by: Peter Lee <pkl@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661442}
6 files changed