Chromium Code Reviews| Index: components/offline_pages/core/background/scheduler.h |
| diff --git a/components/offline_pages/core/background/scheduler.h b/components/offline_pages/core/background/scheduler.h |
| index 7ce0a456e6ef6523e013fe6b2f08b1208084ba3e..c47a7d3de21895a71d121f292ae7fc8f2dad46ce 100644 |
| --- a/components/offline_pages/core/background/scheduler.h |
| +++ b/components/offline_pages/core/background/scheduler.h |
| @@ -5,6 +5,8 @@ |
| #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SCHEDULER_H_ |
| #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_SCHEDULER_H_ |
| +#include "components/offline_pages/core/background/device_conditions.h" |
| + |
| namespace offline_pages { |
| // Interface of a class responsible for scheduling a task to initiate |
| @@ -40,6 +42,9 @@ class Scheduler { |
| // Unschedules the currently scheduled task, if any. |
| virtual void Unschedule() = 0; |
| + |
| + // Get the current device conditions from the android APIs |
|
dougarnett
2017/01/27 23:15:56
nit - period
Pete Williamson
2017/01/28 00:24:46
Done.
|
| + virtual DeviceConditions& GetCurrentDeviceConditions() = 0; |
| }; |
| } // namespace offline_pages |