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

Unified Diff: chrome/browser/password_manager/password_store_default.h

Issue 10227014: Remove the very old code that migrated password data from the WebDataService to PasswordStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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_default.h
===================================================================
--- chrome/browser/password_manager/password_store_default.h (revision 133948)
+++ chrome/browser/password_manager/password_store_default.h (working copy)
@@ -14,7 +14,6 @@
#include "chrome/browser/password_manager/password_store.h"
class Profile;
-class WebDataService;
// Simple password store implementation that delegates everything to
// the LoginDatabase.
@@ -22,8 +21,7 @@
public:
// Takes ownership of |login_db|.
PasswordStoreDefault(LoginDatabase* login_db,
- Profile* profile,
- WebDataService* web_data_service);
+ Profile* profile);
protected:
virtual ~PasswordStoreDefault();
@@ -49,24 +47,15 @@
virtual bool FillBlacklistLogins(
std::vector<webkit::forms::PasswordForm*>* forms) OVERRIDE;
- scoped_refptr<WebDataService> web_data_service_;
-
protected:
inline bool DeleteAndRecreateDatabaseFile() {
return login_db_->DeleteAndRecreateDatabaseFile();
}
private:
- class MigrateHelper;
-
- // Migrates logins from the WDS to the LoginDatabase.
- void MigrateIfNecessary();
-
scoped_ptr<LoginDatabase> login_db_;
Profile* profile_;
- scoped_ptr<MigrateHelper> migrate_helper_;
-
DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault);
};

Powered by Google App Engine
This is Rietveld 408576698