| Index: components/password_manager/content/common/credential_manager.mojom
|
| diff --git a/components/password_manager/content/common/credential_manager.mojom b/components/password_manager/content/common/credential_manager.mojom
|
| index cc4981d8bc872909595a332add777a334da00e32..3447fee6ea08bfc34f912f08597f04912b193d64 100644
|
| --- a/components/password_manager/content/common/credential_manager.mojom
|
| +++ b/components/password_manager/content/common/credential_manager.mojom
|
| @@ -13,6 +13,12 @@ enum CredentialType {
|
| FEDERATED
|
| };
|
|
|
| +enum CredentialMediationRequirement {
|
| + SILENT,
|
| + OPTIONAL,
|
| + REQUIRED
|
| +};
|
| +
|
| enum CredentialManagerError {
|
| SUCCESS,
|
| DISABLED,
|
| @@ -40,7 +46,7 @@ interface CredentialManager {
|
| // Get Credential. For navigator.credentials.get().
|
| // The result callback will return a non-null and valid CredentialInfo
|
| // if succeeded, or null with a CredentialManagerError if failed.
|
| - Get(bool zero_click_only,
|
| + Get(CredentialMediationRequirement mediation,
|
| bool include_passwords,
|
| array<url.mojom.Url> federations)
|
| => (CredentialManagerError error, CredentialInfo? credential);
|
|
|