Index: Source/modules/credentialmanager/PasswordCredential.h |
diff --git a/Source/modules/credentialmanager/PasswordCredential.h b/Source/modules/credentialmanager/PasswordCredential.h |
index 13e2b346c434dbc83da6e14d24466f43af2ed9a4..ad42a47b0e86fcaf1a05898607f38767f363a7af 100644 |
--- a/Source/modules/credentialmanager/PasswordCredential.h |
+++ b/Source/modules/credentialmanager/PasswordCredential.h |
@@ -15,22 +15,13 @@ namespace blink { |
class DOMFormData; |
class FormDataOptions; |
+class PasswordCredentialData; |
class WebPasswordCredential; |
class PasswordCredential final : public Credential { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PasswordCredential* create(const String& id, const String& password, ExceptionState& exceptionState) |
- { |
- return create(id, password, emptyString(), emptyString(), exceptionState); |
- } |
- |
- static PasswordCredential* create(const String& id, const String& password, const String& name, ExceptionState& exceptionState) |
- { |
- return create(id, password, name, emptyString(), exceptionState); |
- } |
- |
- static PasswordCredential* create(const String& id, const String& password, const String& name, const String& icon, ExceptionState&); |
+ static PasswordCredential* create(const PasswordCredentialData&, ExceptionState&); |
static PasswordCredential* create(WebPasswordCredential*); |
// PasswordCredential.idl |