Chromium Code Reviews| Index: components/offline_pages/background/request_queue.h |
| diff --git a/components/offline_pages/background/request_queue.h b/components/offline_pages/background/request_queue.h |
| index 869f072e1f69594fa99e2999fe624176568d180c..670817d60cc7e9aead25bedcd109d7c6a5c2a5d7 100644 |
| --- a/components/offline_pages/background/request_queue.h |
| +++ b/components/offline_pages/background/request_queue.h |
| @@ -13,6 +13,7 @@ |
| #include "base/callback.h" |
| #include "base/macros.h" |
| #include "base/memory/weak_ptr.h" |
| +#include "components/offline_pages/offline_page_item.h" |
| namespace offline_pages { |
| @@ -76,6 +77,11 @@ class RequestQueue { |
| // |callback|. |
| void RemoveRequest(int64_t request_id, const UpdateRequestCallback& callback); |
| + // Removes the requests matching the |client_ids|. Results are returned |
| + // through |callback|. |
| + void RemoveRequestsByClientId(const std::vector<ClientId>& client_id, |
| + const UpdateRequestCallback& callback); |
|
Dmitry Titov
2016/08/01 19:37:30
formatting - whitespace.
Pete Williamson
2016/08/01 23:23:07
Done.
|
| + |
| void GetForUpdateDone( |
| const RequestQueue::UpdateRequestCallback& update_callback, |
| const SavePageRequest& update_request, |