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

Unified Diff: components/password_manager/core/browser/password_store_default.h

Issue 1226303003: Start the migration of passwords from the Keychain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the test Created 5 years, 5 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_default.h
diff --git a/components/password_manager/core/browser/password_store_default.h b/components/password_manager/core/browser/password_store_default.h
index c8d076f2fa9eb4ebc0c5e76df050e9690998035a..3218de3ea6001d5ca57e37c28a1fde891f7ac8fb 100644
--- a/components/password_manager/core/browser/password_store_default.h
+++ b/components/password_manager/core/browser/password_store_default.h
@@ -68,6 +68,10 @@ class PasswordStoreDefault : public PasswordStore {
return login_db_->DeleteAndRecreateDatabaseFile();
}
+ void set_login_db(scoped_ptr<password_manager::LoginDatabase> login_db) {
+ login_db_.swap(login_db);
+ }
+
private:
// Resets |login_db_| on the background thread.
void ResetLoginDB();

Powered by Google App Engine
This is Rietveld 408576698