summaryrefslogtreecommitdiff
path: root/chromium/components/password_manager/core/browser/credentials_filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/password_manager/core/browser/credentials_filter.h')
-rw-r--r--chromium/components/password_manager/core/browser/credentials_filter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/components/password_manager/core/browser/credentials_filter.h b/chromium/components/password_manager/core/browser/credentials_filter.h
index aec30291a22..cf5038cabe1 100644
--- a/chromium/components/password_manager/core/browser/credentials_filter.h
+++ b/chromium/components/password_manager/core/browser/credentials_filter.h
@@ -27,6 +27,11 @@ class CredentialsFilter {
// Should |form| be offered to be saved?
virtual bool ShouldSave(const autofill::PasswordForm& form) const = 0;
+ // Returns true if the hash of |form.password_value| should be saved for
+ // password reuse checking.
+ virtual bool ShouldSavePasswordHash(
+ const autofill::PasswordForm& form) const = 0;
+
// Call this if the form associated with |form_manager| was filled, and the
// subsequent sign-in looked like a success.
virtual void ReportFormLoginSuccess(