Introduce PasswordManager interface for password generation on iOS.

The current PasswordManager methods related to generation have a lot of
legacy artifacts that not needed anymore (for example usually
PasswordForm passed in cases when just form identifiers are required).
We need to refactor them some time (namely it would be possible when
the old parser is gone).
It doesn't make sense to use old interface for iOS generation that is
currently in development.

This CL introduces an interface, which will be used from PasswordController.
The implementation will be done in subsequent CLs. The idea to use these
methods on non-iOS platforms in future.

More details in go/bling-password-generation the section
"PasswordManager interface ..."

Bug: 866444, 886583
Change-Id: I9d7dadf6e8ecd34ca440599d772088f99ec70c58
Reviewed-on: https://chromium-review.googlesource.com/c/1474753
Commit-Queue: Vadym Doroshenko <dvadym@chromium.org>
Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632622}
2 files changed