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

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

Issue 2909283002: Delete PasswordStoreMac and SimplePasswordStoreMac. (Closed)
Patch Set: test Created 3 years, 7 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
« no previous file with comments | « components/password_manager/core/browser/login_database_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0c7faebef2dc6b03ae2a6af780d7de42ab138c17..be550455606d2e1be8a9a967c8f83736c7e0d3c0 100644
--- a/components/password_manager/core/browser/password_store_default.h
+++ b/components/password_manager/core/browser/password_store_default.h
@@ -34,7 +34,7 @@ class PasswordStoreDefault : public PasswordStore {
void ShutdownOnUIThread() override;
- // To be used only for testing.
+ // To be used only for testing or in subclasses.
LoginDatabase* login_db() const { return login_db_.get(); }
protected:
@@ -86,10 +86,6 @@ class PasswordStoreDefault : public PasswordStore {
return login_db_->DeleteAndRecreateDatabaseFile();
}
- void set_login_db(std::unique_ptr<password_manager::LoginDatabase> login_db) {
- login_db_.swap(login_db);
- }
-
private:
// Resets |login_db_| on the background thread.
void ResetLoginDB();
« no previous file with comments | « components/password_manager/core/browser/login_database_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698