| Index: components/offline_pages/offline_page_test_store.cc
|
| diff --git a/components/offline_pages/offline_page_test_store.cc b/components/offline_pages/offline_page_test_store.cc
|
| index e6e5637c4d0c9c06830c46e641f0f2cd4a30d98f..70b91c4e0116306876f4ef4a704cb2a076fa1d14 100644
|
| --- a/components/offline_pages/offline_page_test_store.cc
|
| +++ b/components/offline_pages/offline_page_test_store.cc
|
| @@ -56,8 +56,8 @@ void OfflinePageTestStore::UpdateOfflinePages(
|
| const UpdateCallback& callback) {
|
| // TODO(fgorski): Cover scenario where new items are being created while they
|
| // shouldn't.
|
| - std::unique_ptr<StoreUpdateResult> result(
|
| - new StoreUpdateResult(StoreState::LOADED));
|
| + std::unique_ptr<OfflinePagesUpdateResult> result(
|
| + new OfflinePagesUpdateResult(StoreState::LOADED));
|
| if (scenario_ == TestScenario::WRITE_FAILED) {
|
| for (const auto& page : pages) {
|
| result->item_statuses.push_back(
|
| @@ -81,8 +81,8 @@ void OfflinePageTestStore::UpdateOfflinePages(
|
| void OfflinePageTestStore::RemoveOfflinePages(
|
| const std::vector<int64_t>& offline_ids,
|
| const UpdateCallback& callback) {
|
| - std::unique_ptr<StoreUpdateResult> result(
|
| - new StoreUpdateResult(StoreState::LOADED));
|
| + std::unique_ptr<OfflinePagesUpdateResult> result(
|
| + new OfflinePagesUpdateResult(StoreState::LOADED));
|
|
|
| ASSERT_FALSE(offline_ids.empty());
|
| if (scenario_ == TestScenario::REMOVE_FAILED) {
|
|
|