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

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

Issue 364343002: Kill WebDataService, move (WIN only) Password code into separate class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments and clean up Created 6 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/password_store_win.cc ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37ef50da64b49d89be9892ff25365b3e9b7936aa..da03e35b29a84291b79f6f21e52a8446b48941d5 100644
--- a/chrome/browser/password_manager/password_store_win_unittest.cc
+++ b/chrome/browser/password_manager/password_store_win_unittest.cc
@@ -18,7 +18,7 @@
#include "base/time/time.h"
#include "chrome/browser/password_manager/password_store_win.h"
#include "chrome/browser/webdata/logins_table.h"
-#include "chrome/browser/webdata/web_data_service.h"
+#include "chrome/browser/webdata/password_web_data_service_win.h"
#include "chrome/test/base/testing_profile.h"
#include "components/os_crypt/ie7_password_win.h"
#include "components/password_manager/core/browser/password_form_data.h"
@@ -52,7 +52,7 @@ class MockPasswordStoreConsumer : public PasswordStoreConsumer {
class MockWebDataServiceConsumer : public WebDataServiceConsumer {
public:
MOCK_METHOD2(OnWebDataServiceRequestDone,
- void(WebDataService::Handle, const WDTypedResult*));
+ void(PasswordWebDataService::Handle, const WDTypedResult*));
};
} // anonymous namespace
@@ -125,8 +125,8 @@ class PasswordStoreWinTest : public testing::Test {
// Need to add at least one table so the database gets created.
wdbs_->AddTable(scoped_ptr<WebDatabaseTable>(new LoginsTable()));
wdbs_->LoadDatabase();
- wds_ = new WebDataService(wdbs_,
- WebDataServiceBase::ProfileErrorCallback());
+ wds_ = new PasswordWebDataService(
+ wdbs_, WebDataServiceBase::ProfileErrorCallback());
wds_->Init();
}
@@ -163,7 +163,7 @@ class PasswordStoreWinTest : public testing::Test {
base::ScopedTempDir temp_dir_;
scoped_ptr<TestingProfile> profile_;
scoped_ptr<LoginDatabase> login_db_;
- scoped_refptr<WebDataService> wds_;
+ scoped_refptr<PasswordWebDataService> wds_;
scoped_refptr<WebDatabaseService> wdbs_;
scoped_refptr<PasswordStore> store_;
};
« no previous file with comments | « chrome/browser/password_manager/password_store_win.cc ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698