Chromium Code Reviews| Index: components/offline_pages/background/request_coordinator.h |
| diff --git a/components/offline_pages/background/request_coordinator.h b/components/offline_pages/background/request_coordinator.h |
| index 47991061dba95200a826cfac6abb9289ce0d0736..9c2ff76c7051a9368ac24b02fbc342b9265a8b8d 100644 |
| --- a/components/offline_pages/background/request_coordinator.h |
| +++ b/components/offline_pages/background/request_coordinator.h |
| @@ -9,22 +9,21 @@ |
| namespace offline_pages { |
| +class SavePageRequest; |
| + |
| // Coordinates queueing and processing save page later requests. |
| class RequestCoordinator { |
| public: |
| // Callback to report when the processing of a triggered task is complete. |
| typedef base::Callback<void()> ProcessingDoneCallback; |
| - struct SavePageRequest { |
| - // TODO(dougarnett): define and consider making stand-alone. |
| - }; |
| - |
| // TODO(dougarnett): How to inject Offliner factories and policy objects. |
| RequestCoordinator(); |
| ~RequestCoordinator(); |
| // Queues |request| to later load and save when system conditions allow. |
| + // Returns true if the page could be queueud successfully. |
|
fgorski
2016/05/04 17:39:44
nit: queued
Pete Williamson
2016/05/04 18:17:42
Done.
|
| bool SavePageLater(const SavePageRequest& request); |
| // Starts processing of one or more queued save page later requests. |