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

Unified Diff: Source/modules/credentialmanager/Credential.idl

Issue 1157403004: Credential Management: Add 'Credential::type' attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-federated
Patch Set: Test. Created 5 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: Source/modules/credentialmanager/Credential.idl
diff --git a/Source/modules/credentialmanager/Credential.idl b/Source/modules/credentialmanager/Credential.idl
index 76eab5bc97435afff0658ffebbdf5b34077c6ec7..2c3c2a1b531c63069bf13d6a524e19814d8e4819 100644
--- a/Source/modules/credentialmanager/Credential.idl
+++ b/Source/modules/credentialmanager/Credential.idl
@@ -2,11 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://w3c.github.io/webappsec/specs/credentialmanagement/#credential
+
[
RuntimeEnabled=CredentialManager,
GarbageCollected
] interface Credential {
readonly attribute DOMString id;
+ readonly attribute DOMString type;
+
+ // TODO(mkwst): These should be on LocallyStoredCredential.
readonly attribute DOMString name;
readonly attribute DOMString avatarURL;
};
« no previous file with comments | « Source/modules/credentialmanager/Credential.h ('k') | Source/platform/credentialmanager/PlatformCredential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698