Chromium Code Reviews| Index: components/offline_pages/background/request_coordinator.cc |
| diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/background/request_coordinator.cc |
| index 5876d8386d79b7c3834f6cf9b7d72bd22f8c38cd..958b8d1dbcd891f9fc23141e1aa3c8f16f3e2e1e 100644 |
| --- a/components/offline_pages/background/request_coordinator.cc |
| +++ b/components/offline_pages/background/request_coordinator.cc |
| @@ -70,6 +70,15 @@ bool RequestCoordinator::SavePageLater( |
| return true; |
| } |
| +void RequestCoordinator::RemoveRequests( |
| + const std::vector<ClientId>& client_ids) { |
| + |
|
fgorski
2016/08/02 05:01:22
nit: remove empty line.
Pete Williamson
2016/08/02 23:27:16
Done.
|
| + queue_->RemoveRequestsByClientId( |
| + client_ids, |
| + base::Bind(&RequestCoordinator::UpdateRequestCallback, |
| + weak_ptr_factory_.GetWeakPtr())); |
| +} |
| + |
| void RequestCoordinator::AddRequestResultCallback( |
| RequestQueue::AddRequestResult result, |
| const SavePageRequest& request) { |