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

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

Issue 152683002: Passwords: Remove references to BrowserThread from PasswordStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 10 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_mac.h
diff --git a/chrome/browser/password_manager/password_store_mac.h b/chrome/browser/password_manager/password_store_mac.h
index fc34b7c530e26ef851ce4126c2c581f8e4a6af7a..327cdc5d8e59ec7f49fdeea4314b10fb181b9c59 100644
--- a/chrome/browser/password_manager/password_store_mac.h
+++ b/chrome/browser/password_manager/password_store_mac.h
@@ -30,7 +30,11 @@ class PasswordStoreMac : public PasswordStore {
public:
// Takes ownership of |keychain| and |login_db|, both of which must be
// non-NULL.
- PasswordStoreMac(crypto::AppleKeychain* keychain, LoginDatabase* login_db);
+ PasswordStoreMac(
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner,
+ crypto::AppleKeychain* keychain,
+ LoginDatabase* login_db);
// Initializes |thread_| and |notification_service_|.
virtual bool Init() OVERRIDE;
@@ -40,7 +44,8 @@ class PasswordStoreMac : public PasswordStore {
protected:
virtual ~PasswordStoreMac();
- virtual scoped_refptr<base::SequencedTaskRunner> GetTaskRunner() OVERRIDE;
+ virtual scoped_refptr<base::SequencedTaskRunner>
+ GetBackgroundTaskRunner() OVERRIDE;
private:
virtual void ReportMetricsImpl() OVERRIDE;
« no previous file with comments | « chrome/browser/password_manager/password_store_factory.cc ('k') | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698