Commit 159ea0fa authored by Gemene Narcis's avatar Gemene Narcis Committed by Commit Bot

Support cleaning blacklisted duplicates for iOS platform

This CL allows cleaning of blacklisted duplicates for iOS platform.

Bug: 862930
Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
Change-Id: I44e9fb90181781c261760ac0d933f8917b7d2910
Reviewed-on: https://chromium-review.googlesource.com/1233234Reviewed-by: default avatarVaclav Brozek <vabr@chromium.org>
Reviewed-by: default avatarJan Wilken Dörrie <jdoerrie@chromium.org>
Commit-Queue: Narcis Gemene <gemene@google.com>
Cr-Commit-Position: refs/heads/master@{#592779}
parent bbb140b8
......@@ -19,6 +19,7 @@
#include "components/password_manager/core/browser/android_affiliation/affiliation_service.h"
#include "components/password_manager/core/browser/android_affiliation/affiliation_utils.h"
#include "components/password_manager/core/browser/login_database.h"
#include "components/password_manager/core/browser/password_manager_util.h"
#include "components/password_manager/core/browser/password_store_default.h"
#include "components/password_manager/core/browser/password_store_factory_util.h"
#include "components/sync/driver/sync_service.h"
......@@ -98,6 +99,9 @@ IOSChromePasswordStoreFactory::BuildServiceInstanceFor(
LOG(WARNING) << "Could not initialize password store.";
return nullptr;
}
password_manager_util::DeleteBlacklistedDuplicates(
store, ios::ChromeBrowserState::FromBrowserState(context)->GetPrefs(),
60);
return store;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment