| Index: chrome/browser/password_manager/password_store_factory.cc
|
| diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc
|
| index 65020c1482d1979332f48f08fef99edfc6117cda..2bc43e7bd8059aa35cd4a036b0e95184f837c065 100644
|
| --- a/chrome/browser/password_manager/password_store_factory.cc
|
| +++ b/chrome/browser/password_manager/password_store_factory.cc
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/environment.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/rand_util.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| @@ -22,6 +23,7 @@
|
| #include "components/browser_sync/profile_sync_service.h"
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
| #include "components/os_crypt/os_crypt_switches.h"
|
| +#include "components/password_manager/core/browser/http_data_cleaner.h"
|
| #include "components/password_manager/core/browser/login_database.h"
|
| #include "components/password_manager/core/browser/password_store.h"
|
| #include "components/password_manager/core/browser/password_store_default.h"
|
| @@ -267,6 +269,11 @@ PasswordStoreFactory::BuildServiceInstanceFor(
|
| LOG(WARNING) << "Could not initialize password store.";
|
| return nullptr;
|
| }
|
| +
|
| + password_manager::DelayCleanObsoleteHttpDataForPasswordStoreAndPrefs(
|
| + ps.get(), profile->GetPrefs(),
|
| + make_scoped_refptr(profile->GetRequestContext()));
|
| +
|
| return ps;
|
| }
|
|
|
|
|