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/fake_form_fetcher.cc

Issue 2912783002: Measure how often PSL and same-organization name credentials are suppressed. (Closed)
Patch Set: Addressed comments from kolos@. Created 3 years, 7 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/fake_form_fetcher.cc
diff --git a/components/password_manager/core/browser/fake_form_fetcher.cc b/components/password_manager/core/browser/fake_form_fetcher.cc
index d5652e7648f11853608ee88e765c567fd99856e6..7e7911c3eeef0ba4e29989f8856ae74be63bdf68 100644
--- a/components/password_manager/core/browser/fake_form_fetcher.cc
+++ b/components/password_manager/core/browser/fake_form_fetcher.cc
@@ -42,8 +42,18 @@ FakeFormFetcher::GetSuppressedHTTPSForms() const {
return suppressed_https_forms_;
}
-bool FakeFormFetcher::DidCompleteQueryingSuppressedHTTPSForms() const {
- return did_complete_querying_suppressed_https_forms_;
+const std::vector<const autofill::PasswordForm*>&
+FakeFormFetcher::GetSuppressedPSLMatchingForms() const {
+ return suppressed_psl_matching_forms_;
+}
+
+const std::vector<const autofill::PasswordForm*>&
+FakeFormFetcher::GetSuppressedSameOrganizationNameForms() const {
+ return suppressed_same_organization_name_forms_;
+}
+
+bool FakeFormFetcher::DidCompleteQueryingSuppressedForms() const {
+ return did_complete_querying_suppressed_forms_;
}
void FakeFormFetcher::SetNonFederated(

Powered by Google App Engine
This is Rietveld 408576698