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

Unified Diff: components/password_manager/core/browser/credential_manager_pending_request_task.cc

Issue 1375883002: Support Android username-only credentials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 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: components/password_manager/core/browser/credential_manager_pending_request_task.cc
diff --git a/components/password_manager/core/browser/credential_manager_pending_request_task.cc b/components/password_manager/core/browser/credential_manager_pending_request_task.cc
index f51edc8805ea765b50702044bc52dcc69ffbf1cc..bc79dc545e6c85090a48f2e2e485053a2476af36 100644
--- a/components/password_manager/core/browser/credential_manager_pending_request_task.cc
+++ b/components/password_manager/core/browser/credential_manager_pending_request_task.cc
@@ -70,6 +70,8 @@ void CredentialManagerPendingRequestTask::OnGetPasswordStoreResults(
// TODO(mkwst): This doesn't create a PasswordForm that we can use to create
// a FederatedCredential (via CreatePasswordFormFromCredentialInfo). We need
// to fix that.
+ AffiliatedMatchHelper::TrimAndroidUsernameOnlyCredentials(
+ &affiliated_results);
local_results.insert(local_results.end(), affiliated_results.begin(),
affiliated_results.end());
affiliated_results.weak_clear();

Powered by Google App Engine
This is Rietveld 408576698