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

Unified Diff: chrome/browser/password_manager/test_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 | « chrome/browser/password_manager/test_password_store.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/test_password_store.cc
diff --git a/chrome/browser/password_manager/test_password_store.cc b/chrome/browser/password_manager/test_password_store.cc
index eb3ee1dd50c98eae94ceab3b8c2b81ae993e8e59..d5fe8189d7c9a54b6eea24933a5c85c4cec05bc1 100644
--- a/chrome/browser/password_manager/test_password_store.cc
+++ b/chrome/browser/password_manager/test_password_store.cc
@@ -12,7 +12,11 @@ scoped_refptr<RefcountedBrowserContextKeyedService> TestPasswordStore::Create(
return make_scoped_refptr(new TestPasswordStore);
}
-TestPasswordStore::TestPasswordStore() : PasswordStore() {}
+TestPasswordStore::TestPasswordStore()
+ : PasswordStore(base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current()) {
+}
+
TestPasswordStore::~TestPasswordStore() {}
TestPasswordStore::PasswordMap TestPasswordStore::stored_passwords() {
@@ -32,10 +36,6 @@ bool TestPasswordStore::FormsAreEquivalent(const autofill::PasswordForm& lhs,
lhs.signon_realm == rhs.signon_realm;
}
-scoped_refptr<base::SequencedTaskRunner> TestPasswordStore::GetTaskRunner() {
- return base::MessageLoopProxy::current();
-}
-
void TestPasswordStore::WrapModificationTask(base::Closure task) {
task.Run();
}
« no previous file with comments | « chrome/browser/password_manager/test_password_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698