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

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

Issue 1226303003: Start the migration of passwords from the Keychain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the test Created 5 years, 5 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/simple_password_store_mac.cc ('k') | components/password_manager.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/simple_password_store_mac_unittest.cc
diff --git a/chrome/browser/password_manager/simple_password_store_mac_unittest.cc b/chrome/browser/password_manager/simple_password_store_mac_unittest.cc
index 517f5ce5796d66434e9aa06513b1ad471aa73353..4e82e0610e4247942ba82b8e2379a3f302aa2053 100644
--- a/chrome/browser/password_manager/simple_password_store_mac_unittest.cc
+++ b/chrome/browser/password_manager/simple_password_store_mac_unittest.cc
@@ -50,9 +50,12 @@ class SimplePasswordStoreMacTest : public testing::Test {
FROM_HERE,
base::Bind(&InitOnBackgroundThread, base::Unretained(login_db.get())));
store_ = new SimplePasswordStoreMac(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
- file_task_runner, login_db.Pass());
- ASSERT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare()));
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI), nullptr,
+ scoped_ptr<password_manager::LoginDatabase>());
+ file_task_runner->PostTask(
+ FROM_HERE,
+ base::Bind(&SimplePasswordStoreMac::InitWithTaskRunner, store_,
+ file_task_runner, base::Passed(&login_db)));
// Make sure deferred initialization is finished.
FinishAsyncProcessing();
}
« no previous file with comments | « chrome/browser/password_manager/simple_password_store_mac.cc ('k') | components/password_manager.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698