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

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

Issue 1828213002: CREDENTIAL: Implement the 'PasswordCredential(HTMLFormElement)' constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h
index c34b11a1ca2e64b736a488e51ea54bb12110a0d2..763070caef94eca889a4566b7ff0185064588c48 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h
@@ -17,15 +17,17 @@ namespace blink {
class FormData;
class FormDataOptions;
+class HTMLFormElement;
class PasswordCredentialData;
class WebPasswordCredential;
using CredentialPostBodyType = FormDataOrURLSearchParams;
-class PasswordCredential final : public Credential {
+class MODULES_EXPORT PasswordCredential final : public Credential {
DEFINE_WRAPPERTYPEINFO();
public:
static PasswordCredential* create(const PasswordCredentialData&, ExceptionState&);
+ static PasswordCredential* create(HTMLFormElement*, ExceptionState&);
static PasswordCredential* create(WebPasswordCredential*);
// PasswordCredential.idl

Powered by Google App Engine
This is Rietveld 408576698