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

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: Ugh. 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
« no previous file with comments | « Source/modules/credentialmanager/Credential.h ('k') | Source/modules/credentialmanager/LocalCredential.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/credentialmanager/LocalCredential.h
diff --git a/Source/modules/credentialmanager/LocalCredential.h b/Source/modules/credentialmanager/LocalCredential.h
index 9fa7f4f2bd559115f2f9dee24672c38c997520ea..04f8020a96dd9507c9ca4336544dc0a6c0f64e18 100644
--- a/Source/modules/credentialmanager/LocalCredential.h
+++ b/Source/modules/credentialmanager/LocalCredential.h
@@ -13,6 +13,7 @@
namespace blink {
+class DOMFormData;
class WebLocalCredential;
class LocalCredential final : public Credential {
@@ -33,12 +34,18 @@ 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);
+
+ // FIXME: Reconsider use of GarbageCollectedFinalized once this can be a Member.
+ RefPtrWillBeMember<DOMFormData> m_formData;
};
} // namespace blink
-#endif // Credential_h
+#endif // LocalCredential_h
« no previous file with comments | « Source/modules/credentialmanager/Credential.h ('k') | Source/modules/credentialmanager/LocalCredential.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698