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

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: EXPORT2 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..9fc45a218dcc6db9c14dc2edd987936c7c59cbef 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/SerializedScriptValue.h"
#include "bindings/modules/v8/UnionTypesModules.h"
+#include "modules/ModulesExport.h"
#include "modules/credentialmanager/Credential.h"
#include "platform/heap/Handle.h"
#include "platform/network/EncodedFormData.h"
@@ -17,15 +18,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