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

Unified Diff: components/password_manager/core/browser/password_manager_util.h

Issue 1375883002: Support Android username-only credentials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: engedy@ 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_manager_util.h
diff --git a/components/password_manager/core/browser/password_manager_util.h b/components/password_manager/core/browser/password_manager_util.h
index a9168eb4de6e035e3a4eccb27a1a202d59b23863..ef2517b2a52e3cf11e9e18c12e1a6039037cbd92 100644
--- a/components/password_manager/core/browser/password_manager_util.h
+++ b/components/password_manager/core/browser/password_manager_util.h
@@ -37,6 +37,11 @@ void FindDuplicates(
ScopedVector<autofill::PasswordForm>* duplicates,
std::vector<std::vector<autofill::PasswordForm*>>* tag_groups);
+// Removes Android username-only credentials from |android_credentials|.
+// Transforms federated credentials into non zero-click ones.
+void TrimUsernameOnlyCredentials(
+ ScopedVector<autofill::PasswordForm>* android_credentials);
+
} // namespace password_manager_util
#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698