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

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: Fix more tests. Created 6 years, 11 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..17347793829523133ed87e7c92c0098bf24a1d77 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_task_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;

Powered by Google App Engine
This is Rietveld 408576698