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

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

Issue 1314903003: Updating of all entries in PasswordManager of the same credentials on password update (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Vasilii comments Created 5 years, 3 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/affiliated_match_helper.cc
diff --git a/components/password_manager/core/browser/affiliated_match_helper.cc b/components/password_manager/core/browser/affiliated_match_helper.cc
index f01cc04d5c10f7ab82daba50bc39e0d5a5e4eb9a..4c18384055b07924a8c837853238d0f71f82ca75 100644
--- a/components/password_manager/core/browser/affiliated_match_helper.cc
+++ b/components/password_manager/core/browser/affiliated_match_helper.cc
@@ -133,20 +133,6 @@ bool AffiliatedMatchHelper::IsValidWebCredential(
facet_uri.IsValidWebFacetURI();
}
-// static
-ScopedVector<autofill::PasswordForm>
-AffiliatedMatchHelper::TransformAffiliatedAndroidCredentials(
- const autofill::PasswordForm& observed_form,
- ScopedVector<autofill::PasswordForm> android_credentials) {
- for (autofill::PasswordForm* form : android_credentials) {
- DCHECK_EQ(form->scheme, autofill::PasswordForm::SCHEME_HTML);
- form->origin = observed_form.origin;
- form->original_signon_realm = form->signon_realm;
- form->signon_realm = observed_form.signon_realm;
- }
- return android_credentials.Pass();
-}
-
void AffiliatedMatchHelper::SetTaskRunnerUsedForWaitingForTesting(
const scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
task_runner_for_waiting_ = task_runner;

Powered by Google App Engine
This is Rietveld 408576698