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

Unified Diff: components/password_manager/content/common/credential_manager_types.cc

Issue 848723002: Credential Manager API: Showing both local and federated logins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not ready for review Created 5 years, 11 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: components/password_manager/content/common/credential_manager_types.cc
diff --git a/components/password_manager/content/common/credential_manager_types.cc b/components/password_manager/content/common/credential_manager_types.cc
index 61e4bca3fa10bad5f30e7fef874ada93ec76085a..0aef84c29b6b9d8c844ae10f80875d22dbbc0a27 100644
--- a/components/password_manager/content/common/credential_manager_types.cc
+++ b/components/password_manager/content/common/credential_manager_types.cc
@@ -32,8 +32,10 @@ CredentialInfo::CredentialInfo(const blink::WebCredential& credential)
}
}
-CredentialInfo::CredentialInfo(const autofill::PasswordForm& form)
- : id(form.username_value),
+CredentialInfo::CredentialInfo(const autofill::PasswordForm& form,
+ CredentialType form_type)
+ : type(form_type),
vasilii 2015/01/12 18:36:45 |type| is overwritten below
melandory 2015/01/13 09:07:54 Yep, code which removes this accidently went here
+ id(form.username_value),
name(form.display_name),
avatar(form.avatar_url),
password(form.password_value),

Powered by Google App Engine
This is Rietveld 408576698