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

Unified Diff: components/password_manager/core/browser/password_store.cc

Issue 1200603003: Integrate PasswordStoreProxyMac instead of PasswordStoreMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years, 6 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/password_store.cc
diff --git a/components/password_manager/core/browser/password_store.cc b/components/password_manager/core/browser/password_store.cc
index 0a8822844bf42559b95493eb8f5428f65bc9c3c2..ab908f849fb93fab0f3fbb1861434c9b94d24c46 100644
--- a/components/password_manager/core/browser/password_store.cc
+++ b/components/password_manager/core/browser/password_store.cc
@@ -330,6 +330,22 @@ void PasswordStore::RemoveLoginsSyncedBetweenInternal(base::Time delete_begin,
NotifyLoginsChanged(changes);
}
+void PasswordStore::GetAutofillableLoginsImpl(
+ scoped_ptr<GetLoginsRequest> request) {
+ ScopedVector<PasswordForm> obtained_forms;
+ if (!FillAutofillableLogins(&obtained_forms))
+ obtained_forms.clear();
+ request->NotifyConsumerWithResults(obtained_forms.Pass());
+}
+
+void PasswordStore::GetBlacklistLoginsImpl(
+ scoped_ptr<GetLoginsRequest> request) {
+ ScopedVector<PasswordForm> obtained_forms;
+ if (!FillBlacklistLogins(&obtained_forms))
+ obtained_forms.clear();
+ request->NotifyConsumerWithResults(obtained_forms.Pass());
+}
+
void PasswordStore::NotifySiteStats(const GURL& origin_domain,
scoped_ptr<GetLoginsRequest> request) {
request->NotifyWithSiteStatistics(GetSiteStatsImpl(origin_domain));

Powered by Google App Engine
This is Rietveld 408576698