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

Unified Diff: Source/platform/credentialmanager/PlatformLocalCredential.cpp

Issue 1157403004: Credential Management: Add 'Credential::type' attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-federated
Patch Set: Test. Created 5 years, 7 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/platform/credentialmanager/PlatformLocalCredential.cpp
diff --git a/Source/platform/credentialmanager/PlatformLocalCredential.cpp b/Source/platform/credentialmanager/PlatformLocalCredential.cpp
index 207b57ececb5f1bd2cc7b8a4b6032cf06400aa69..3a8ccefdcdf0838e91c580e589704c99cb240d37 100644
--- a/Source/platform/credentialmanager/PlatformLocalCredential.cpp
+++ b/Source/platform/credentialmanager/PlatformLocalCredential.cpp
@@ -16,6 +16,7 @@ PlatformLocalCredential::PlatformLocalCredential(const String& id, const String&
: PlatformCredential(id, name, avatarURL)
, m_password(password)
{
+ setType("password");
}
PlatformLocalCredential::~PlatformLocalCredential()
« no previous file with comments | « Source/platform/credentialmanager/PlatformFederatedCredential.cpp ('k') | Source/platform/exported/WebCredential.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698