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

Unified Diff: chrome/browser/password_manager/mock_password_store.cc

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
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/mock_password_store.cc
diff --git a/chrome/browser/password_manager/mock_password_store.cc b/chrome/browser/password_manager/mock_password_store.cc
index 6b8db112c0729faadba55b27f132be0add1fda00..a1feac1a417b29780dd08459166b69c4fa0c219d 100644
--- a/chrome/browser/password_manager/mock_password_store.cc
+++ b/chrome/browser/password_manager/mock_password_store.cc
@@ -3,8 +3,15 @@
// found in the LICENSE file.
#include "chrome/browser/password_manager/mock_password_store.h"
+#include "content/public/browser/browser_thread.h"
-MockPasswordStore::MockPasswordStore() {}
+using content::BrowserThread;
+
+MockPasswordStore::MockPasswordStore()
+ : PasswordStore(
+ base::MessageLoopProxy::current(),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB)) {
+}
// static
scoped_refptr<RefcountedBrowserContextKeyedService> MockPasswordStore::Build(
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698