Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Unified Diff: components/password_manager/content/common/credential_manager.mojom

Issue 2895243002: Rename requireUserMediation to preventSilentAccess in the CM API. (Closed)
Patch Set: merge Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cea374c736e9bc256283cbfd94f50c5691de1840..ea7cf47559a553c6fe1c64104497906f10fdd065 100644
--- a/components/password_manager/content/common/credential_manager.mojom
+++ b/components/password_manager/content/common/credential_manager.mojom
@@ -40,8 +40,8 @@ interface CredentialManager {
// Store credential. For navigator.credentials.store().
Store(CredentialInfo credential) => ();
- // Require user mediation. For navigator.credentials.requireUserMediation().
- RequireUserMediation() => ();
+ // Require user mediation. For navigator.credentials.preventSilentAccess().
+ PreventSilentAccess() => ();
// Get Credential. For navigator.credentials.get().
// The result callback will return a non-null and valid CredentialInfo

Powered by Google App Engine
This is Rietveld 408576698