| Index: components/offline_pages/core/offline_page_test_store.cc
|
| diff --git a/components/offline_pages/core/offline_page_test_store.cc b/components/offline_pages/core/offline_page_test_store.cc
|
| index 556c12a2356e5ae0e1ea7acdb0a6786a7029cf56..225d777694d55ea042e7ee5d2e9ee1236749c248 100644
|
| --- a/components/offline_pages/core/offline_page_test_store.cc
|
| +++ b/components/offline_pages/core/offline_page_test_store.cc
|
| @@ -44,7 +44,6 @@ void OfflinePageTestStore::GetOfflinePages(const LoadCallback& callback) {
|
|
|
| void OfflinePageTestStore::AddOfflinePage(const OfflinePageItem& offline_page,
|
| const AddCallback& callback) {
|
| - // TODO(fgorski): Add and cover scenario with existing item.
|
| ItemActionStatus result;
|
| if (store_state_ == StoreState::LOADED &&
|
| scenario_ != TestScenario::WRITE_FAILED) {
|
| @@ -61,8 +60,6 @@ void OfflinePageTestStore::AddOfflinePage(const OfflinePageItem& offline_page,
|
| void OfflinePageTestStore::UpdateOfflinePages(
|
| const std::vector<OfflinePageItem>& pages,
|
| const UpdateCallback& callback) {
|
| - // TODO(fgorski): Cover scenario where new items are being created while they
|
| - // shouldn't.
|
| std::unique_ptr<OfflinePagesUpdateResult> result(
|
| new OfflinePagesUpdateResult(StoreState::LOADED));
|
| if (scenario_ == TestScenario::WRITE_FAILED) {
|
|
|