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

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

Issue 1880393002: CREDENTIAL: Implement 'SiteBoundCredential'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. Created 4 years, 8 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.cpp
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
index 98392e0a11b41c32eafc6cafa6f047ecb72735c8..913a2b90519f403d5622fbfc95c93276d4ccf3ab 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
@@ -105,14 +105,14 @@ PasswordCredential* PasswordCredential::create(HTMLFormElement* form, ExceptionS
}
PasswordCredential::PasswordCredential(WebPasswordCredential* webPasswordCredential)
- : Credential(webPasswordCredential->getPlatformCredential())
+ : SiteBoundCredential(webPasswordCredential->getPlatformCredential())
, m_idName("username")
, m_passwordName("password")
{
}
PasswordCredential::PasswordCredential(const String& id, const String& password, const String& name, const KURL& icon)
- : Credential(PlatformPasswordCredential::create(id, password, name, icon))
+ : SiteBoundCredential(PlatformPasswordCredential::create(id, password, name, icon))
, m_idName("username")
, m_passwordName("password")
{
@@ -167,7 +167,7 @@ const String& PasswordCredential::password() const
DEFINE_TRACE(PasswordCredential)
{
- Credential::trace(visitor);
+ SiteBoundCredential::trace(visitor);
visitor->trace(m_additionalData);
}

Powered by Google App Engine
This is Rietveld 408576698