Index: components/offline_pages/core/background/remove_requests_task.cc |
diff --git a/components/offline_pages/core/background/remove_requests_task.cc b/components/offline_pages/core/background/remove_requests_task.cc |
index f958e6708149f1338d316f3d19f79958cc83abf3..a18d31aeed58ed57c524c80449211f6feddc0470 100644 |
--- a/components/offline_pages/core/background/remove_requests_task.cc |
+++ b/components/offline_pages/core/background/remove_requests_task.cc |
@@ -35,9 +35,8 @@ void RemoveRequestsTask::RemoveRequests() { |
} |
void RemoveRequestsTask::CompleteEarly(ItemActionStatus status) { |
- // TODO(fgorski): store_->state() once implemented |
std::unique_ptr<UpdateRequestsResult> result( |
- new UpdateRequestsResult(StoreState::LOADED)); |
+ new UpdateRequestsResult(store_->state())); |
for (int64_t request_id : request_ids_) |
result->item_statuses.push_back(std::make_pair(request_id, status)); |
CompleteWithResult(std::move(result)); |