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

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

Issue 1192963002: Implement PasswordStoreProxyMac and SimplePasswordStoreMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed the comments Created 5 years, 6 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 ab020048141f60b49426c7b87dc356115d641109..95966f8e9aae4d708664aaaf19cb79bef85e9ebd 100644
--- a/components/password_manager/core/browser/password_store_default.h
+++ b/components/password_manager/core/browser/password_store_default.h
@@ -26,6 +26,8 @@ class PasswordStoreDefault : public PasswordStore {
bool Init(const syncer::SyncableService::StartSyncFlare& flare) override;
+ void Shutdown() override;
+
// To be used only for testing.
LoginDatabase* login_db() const { return login_db_.get(); }
@@ -69,6 +71,9 @@ class PasswordStoreDefault : public PasswordStore {
}
private:
+ // Resets |login_db_| on the background thread.
+ void ResetLoginDB();
+
// The login SQL database. The LoginDatabase instance is received via the
// in an uninitialized state, so as to allow injecting mocks, then Init() is
// called on the DB thread in a deferred manner. If opening the DB fails,

Powered by Google App Engine
This is Rietveld 408576698