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

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

Issue 2263933002: Make FormFetcher a PasswordStoreConsumer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@621355_form_fetcher
Patch Set: Also operator= is now default Created 4 years 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 24ca598ea602858728e4d20ed7e04b9deddcf376..145a56580b1fff1cba18bdbc08ceb1502262357a 100644
--- a/components/password_manager/core/browser/form_fetcher.h
+++ b/components/password_manager/core/browser/form_fetcher.h
@@ -68,6 +68,12 @@ class FormFetcher {
virtual const std::vector<const autofill::PasswordForm*>&
GetFederatedMatches() const = 0;
+ // Fetches stored matching logins. In addition the statistics is fetched on
+ // platforms with the password bubble. This is called automatically during
+ // construction and can be called manually later as well to cause an update
+ // of the cached credentials.
+ virtual void Fetch() = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(FormFetcher);
};

Powered by Google App Engine
This is Rietveld 408576698