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

Unified Diff: Source/modules/credentialmanager/PasswordCredential.h

Issue 1314673007: CREDENTIAL: Update PasswordCredential's constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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/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
« no previous file with comments | « Source/modules/credentialmanager/FederatedCredential.idl ('k') | Source/modules/credentialmanager/PasswordCredential.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698