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

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

Issue 14103021: Use Observer to notify of WebDB load instead of callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge and fix WIN Created 7 years, 8 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_win_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_win_unittest.cc b/chrome/browser/password_manager/password_store_win_unittest.cc
index e64849ce55a2653f4e9a4913123c0c0549dfa72c..3f55e3d3a0caafea5f692d0134f030351cea9114 100644
--- a/chrome/browser/password_manager/password_store_win_unittest.cc
+++ b/chrome/browser/password_manager/password_store_win_unittest.cc
@@ -120,7 +120,7 @@ class PasswordStoreWinTest : public testing::Test {
wdbs_ = new WebDatabaseService(path);
// Need to add at least one table so the database gets created.
wdbs_->AddTable(scoped_ptr<WebDatabaseTable>(new LoginsTable()));
- wdbs_->LoadDatabase(WebDatabaseService::InitCallback());
+ wdbs_->LoadDatabase();
wds_ = new WebDataService(wdbs_,
WebDataServiceBase::ProfileErrorCallback());
wds_->Init();

Powered by Google App Engine
This is Rietveld 408576698