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

Unified Diff: components/password_manager/core/browser/form_fetcher_impl_unittest.cc

Issue 2748933005: Remove Obsolete HTTP SiteStatistics From PasswordStore during Migration (Closed)
Patch Set: Capture explicitly Created 3 years, 9 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: components/password_manager/core/browser/form_fetcher_impl_unittest.cc
diff --git a/components/password_manager/core/browser/form_fetcher_impl_unittest.cc b/components/password_manager/core/browser/form_fetcher_impl_unittest.cc
index 310c7baf939816a588aabb72160809a4492659ad..e3e2806d3aee9c831a77b1e4147e8abc775c866f 100644
--- a/components/password_manager/core/browser/form_fetcher_impl_unittest.cc
+++ b/components/password_manager/core/browser/form_fetcher_impl_unittest.cc
@@ -477,7 +477,7 @@ TEST_F(FormFetcherImplTest, TryToMigrateHTTPPasswordsOnHTTPSSites) {
EXPECT_CALL(*mock_store_, AddLogin(https_form));
EXPECT_CALL(consumer_,
ProcessMatches(UnorderedElementsAre(Pointee(https_form)), 0u));
- static_cast<HttpPasswordMigrator*>(migrator_ptr.get())
+ static_cast<HttpPasswordStoreMigrator*>(migrator_ptr.get())
->OnGetPasswordStoreResults(MakeResults({http_form}));
EXPECT_THAT(form_fetcher_->GetFederatedMatches(), IsEmpty());
@@ -548,7 +548,7 @@ TEST_F(FormFetcherImplTest, StateIsWaitingDuringMigration) {
// Now perform the actual migration.
EXPECT_CALL(*mock_store_, AddLogin(https_form));
- static_cast<HttpPasswordMigrator*>(migrator_ptr.get())
+ static_cast<HttpPasswordStoreMigrator*>(migrator_ptr.get())
->OnGetPasswordStoreResults(MakeResults({http_form}));
EXPECT_EQ(FormFetcher::State::NOT_WAITING, form_fetcher_->GetState());
}

Powered by Google App Engine
This is Rietveld 408576698