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 56fa96e67d66f803cf469e5fd08595800f45c11a..8d9b8212f862c76724c40083b5cb89eb3387fc94 100644 |
| --- a/components/offline_pages/background/request_coordinator.h |
| +++ b/components/offline_pages/background/request_coordinator.h |
| @@ -10,9 +10,11 @@ |
| #include "base/callback.h" |
| #include "base/macros.h" |
| #include "components/keyed_service/core/keyed_service.h" |
| +#include "url/gurl.h" |
| namespace offline_pages { |
| +struct ClientId; |
| class OfflinerPolicy; |
| class OfflinerFactory; |
| class Offliner; |
| @@ -31,7 +33,7 @@ class RequestCoordinator : public KeyedService { |
| // Queues |request| to later load and save when system conditions allow. |
| // Returns true if the page could be queued successfully. |
| - bool SavePageLater(const SavePageRequest& request); |
| + bool SavePageLater(const GURL url, const ClientId& client_id); |
|
Bernhard Bauer
2016/05/09 10:00:36
Pass the GURL by (const) reference as well.
Pete Williamson
2016/05/09 18:45:23
Done.
|
| // Starts processing of one or more queued save page later requests. |
| // Returns whether processing was started and that caller should expect |