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

Unified Diff: components/password_manager/core/browser/password_store.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/password_store.cc
diff --git a/components/password_manager/core/browser/password_store.cc b/components/password_manager/core/browser/password_store.cc
index 82ff912f523b57f997bff1f222ea78fe0671d8b5..ebbc490b9af773d3291bebd6f1bc969ab38ea5d6 100644
--- a/components/password_manager/core/browser/password_store.cc
+++ b/components/password_manager/core/browser/password_store.cc
@@ -388,6 +388,7 @@ void PasswordStore::GetLoginsWithAffiliationsImpl(
more_results.begin(), more_results.end(),
[](PasswordForm* form) { return form->federation_url.is_empty(); });
more_results.erase(it_first_federated, more_results.end());
+ AffiliatedMatchHelper::TrimAndroidUsernameOnlyCredentials(&more_results);
engedy 2015/10/13 12:11:33 Could you please update test PasswordStoreTest.Get
vasilii 2015/10/13 18:05:26 Done.
results.insert(results.end(), more_results.begin(), more_results.end());
more_results.weak_clear();
}

Powered by Google App Engine
This is Rietveld 408576698