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

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

Issue 2752173003: Introduce PasswordFormManager::ResetStoredMatches (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_form_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_form_manager.h
diff --git a/components/password_manager/core/browser/password_form_manager.h b/components/password_manager/core/browser/password_form_manager.h
index fa0257629d4a0411791a19be3a2de1b3d4f7bb70..47429bd652610226b9cd6e39df5f41691cfa4aac 100644
--- a/components/password_manager/core/browser/password_form_manager.h
+++ b/components/password_manager/core/browser/password_form_manager.h
@@ -242,6 +242,11 @@ class PasswordFormManager : public FormFetcher::Consumer {
FormSaver* form_saver() { return form_saver_.get(); }
+ // Clears references to matches derived from the associated FormFetcher data.
+ // After calling this, the PasswordFormManager holds no references to objects
+ // owned by the associated FormFetcher.
+ void ResetStoredMatches();
+
protected:
// FormFetcher::Consumer:
void ProcessMatches(
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698