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

Unified Diff: chrome/browser/password_manager/password_store_factory.cc

Issue 2714543006: Clean Obsolete HTTP Data from the Password Store (Closed)
Patch Set: Next Round and Tests 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: 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..f0fe5afc1a69c175daf4bf3fa4928bd3e1c611e2 100644
--- a/chrome/browser/password_manager/password_store_factory.cc
+++ b/chrome/browser/password_manager/password_store_factory.cc
@@ -13,6 +13,7 @@
#include "base/rand_util.h"
#include "base/threading/thread_task_runner_handle.h"
#include "build/build_config.h"
+#include "chrome/browser/password_manager/password_manager_util.h"
#include "chrome/browser/profiles/incognito_helpers.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/glue/sync_start_util.h"
@@ -149,6 +150,7 @@ PasswordStoreFactory::BuildServiceInstanceFor(
password_manager_util_win::DelayReportOsPassword();
#endif
Profile* profile = static_cast<Profile*>(context);
+ password_manager_util::DelayCleanObsoleteHttpDataForProfile(profile);
std::unique_ptr<password_manager::LoginDatabase> login_db(
password_manager::CreateLoginDatabase(profile->GetPath()));

Powered by Google App Engine
This is Rietveld 408576698