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

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

Issue 2760653002: Add FormFetcher::RemoveConsumer (Closed)
Patch Set: Rebased 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
Index: components/password_manager/core/browser/form_fetcher.h
diff --git a/components/password_manager/core/browser/form_fetcher.h b/components/password_manager/core/browser/form_fetcher.h
index 4c587d0a4502e47e58397e29e340ba76119e6358..bfbd22f770983649d45948cca277106673f6ee5d 100644
--- a/components/password_manager/core/browser/form_fetcher.h
+++ b/components/password_manager/core/browser/form_fetcher.h
@@ -56,6 +56,9 @@ class FormFetcher {
// |consumer| outlives |this|.
virtual void AddConsumer(Consumer* consumer) = 0;
+ // Call this to stop |consumer| from receiving updates from |this|.
+ virtual void RemoveConsumer(Consumer* consumer) = 0;
+
// Returns the current state of the FormFetcher
virtual State GetState() const = 0;

Powered by Google App Engine
This is Rietveld 408576698