0

correct typo: ProccessExactAndPSLForms => ProcessExactAndPSLForms

There is a typo in the function name, so it is corrected.

Bug: None
Change-Id: I8d388f5e69225809d4647d226ea8e188d340df71
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5377592
Reviewed-by: Andrii Natiahlyi <natiahlyi@google.com>
Commit-Queue: Andrii Natiahlyi <natiahlyi@google.com>
Reviewed-by: Joonghun Park <pjh0718@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1277501}
This commit is contained in:
Youngmin Hong
2024-03-25 08:26:50 +00:00
committed by Chromium LUCI CQ
parent bbb168928b
commit c97b81ead9
2 changed files with 5 additions and 4 deletions
AUTHORS
components/password_manager/core/browser/password_store

@ -1527,6 +1527,7 @@ Youngho Seo <hazivoo@gmail.com>
Youngjin Choi <cyjin9.yc@gmail.com>
YoungKi Hong <simon.hong81@gmail.com>
Youngmin Yoo <youngmin.yoo@samsung.com>
Youngmin Hong <mjdal0523@gmail.com>
Youngsoo Choi <kenshin.choi@samsung.com>
Youngsun Suh <zard17@gmail.com>
Yuan-Pin Yu <yjames@uber.com>

@ -62,7 +62,7 @@ bool IsExtendedPublicSuffixDomainMatch(
}
// Do post-processing on forms and mark PSL matches as such.
LoginsResultOrError ProccessExactAndPSLForms(
LoginsResultOrError ProcessExactAndPSLForms(
const PasswordFormDigest& digest,
const base::flat_set<std::string>& psl_extensions,
LoginsResultOrError logins_or_error) {
@ -177,7 +177,7 @@ void GetLoginsHelper::Init(AffiliatedMatchHelper* affiliated_match_helper,
// If |affiliated_match_helper| is unavailable return only exact and PSL
// matches.
backend_->FillMatchingLoginsAsync(
base::BindOnce(&ProccessExactAndPSLForms, requested_digest_,
base::BindOnce(&ProcessExactAndPSLForms, requested_digest_,
base::flat_set<std::string>())
.Then(std::move(callback)),
FormSupportsPSL(requested_digest_), {requested_digest_});
@ -211,7 +211,7 @@ void GetLoginsHelper::OnPSLExtensionsReceived(
return;
}
backend_->FillMatchingLoginsAsync(
base::BindOnce(&ProccessExactAndPSLForms, requested_digest_,
base::BindOnce(&ProcessExactAndPSLForms, requested_digest_,
psl_extensions)
.Then(std::move(forms_received_callback)),
FormSupportsPSL(requested_digest_), {requested_digest_});
@ -293,7 +293,7 @@ LoginsResultOrError GetLoginsHelper::MergeResults(
}
}
// Erase any form which has no match_type assigned. This can happen if PSL
// matched form was not marked as such inside ProccessExactAndPSLForms()
// matched form was not marked as such inside ProcessExactAndPSLForms()
// because of PSL extension list.
std::erase_if(final_result,
[](const auto& form) { return !form.match_type.has_value(); });