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

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

Issue 645023005: Credential Manager: Add a 'formData' property to LocalCredential. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/reordering-arguments
Patch Set: Created 6 years, 2 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/LocalCredential.h
diff --git a/Source/modules/credentialmanager/LocalCredential.h b/Source/modules/credentialmanager/LocalCredential.h
index 9fa7f4f2bd559115f2f9dee24672c38c997520ea..65c1955063f0c152a3fab28026cfc1d72d01963f 100644
--- a/Source/modules/credentialmanager/LocalCredential.h
+++ b/Source/modules/credentialmanager/LocalCredential.h
@@ -7,12 +7,14 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/SerializedScriptValue.h"
+#include "core/html/DOMFormData.h"
#include "modules/credentialmanager/Credential.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
namespace blink {
+class DOMFormData;
class WebLocalCredential;
class LocalCredential final : public Credential {
@@ -33,12 +35,17 @@ public:
// LocalCredential.idl
const String& password() const;
+ DOMFormData* formData() const { return m_formData.get(); };
+
+ virtual void trace(Visitor*) override;
private:
LocalCredential(WebLocalCredential*);
LocalCredential(const String& id, const String& password, const String& name, const KURL& avatar);
+
+ RefPtrWillBeRawPtr<DOMFormData> m_formData;
haraken 2014/10/20 08:16:03 This should be RefPtrWillBeMember<DOMFormData>.
Mike West 2014/10/20 09:47:38 Done.
};
} // namespace blink
-#endif // Credential_h
+#endif // LocalCredential_h

Powered by Google App Engine
This is Rietveld 408576698