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

Unified Diff: modules/credentialmanager/PasswordCredential.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « modules/credentialmanager/FormDataOptions.idl ('k') | modules/crypto/Crypto.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/credentialmanager/PasswordCredential.idl
diff --git a/modules/credentialmanager/PasswordCredential.idl b/modules/credentialmanager/PasswordCredential.idl
index 929aed31be33457d8f7239b7f5dfb942d5ec26ed..2e91a60e594b120f06093af06dce22bf99450c68 100644
--- a/modules/credentialmanager/PasswordCredential.idl
+++ b/modules/credentialmanager/PasswordCredential.idl
@@ -2,11 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+typedef (FormData or URLSearchParams) CredentialBodyType;
+
[
RuntimeEnabled=CredentialManager,
RaisesException=Constructor,
- Constructor(DOMString id, DOMString password, optional DOMString name, optional DOMString iconURL)
+ Constructor(PasswordCredentialData data),
+ Exposed=Window,
] interface PasswordCredential : Credential {
- readonly attribute DOMString password;
- readonly attribute FormData formData;
+ attribute USVString idName;
+ attribute USVString passwordName;
+ attribute CredentialBodyType? additionalData;
};
« no previous file with comments | « modules/credentialmanager/FormDataOptions.idl ('k') | modules/crypto/Crypto.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698