| 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 371fd23c319dac2200575e2fdbc700c98867a499..ec15d06556b48c34529b67e92c55705c86901403 100644
|
| --- a/components/offline_pages/background/request_coordinator.h
|
| +++ b/components/offline_pages/background/request_coordinator.h
|
| @@ -145,6 +145,8 @@ class RequestCoordinator : public KeyedService,
|
| immediate_schedule_callback_ = callback;
|
| }
|
|
|
| + void StartImmediatelyForTest() { StartImmediatelyIfConnected(); }
|
| +
|
| // Observers implementing the RequestCoordinator::Observer interface can
|
| // register here to get notifications of changes to request state. This
|
| // pointer is not owned, and it is the callers responsibility to remove the
|
| @@ -327,6 +329,9 @@ class RequestCoordinator : public KeyedService,
|
|
|
| friend class RequestCoordinatorTest;
|
|
|
| + // Cached value of whether low end device. Overwritable for testing.
|
| + bool is_low_end_device_;
|
| +
|
| // The offliner can only handle one request at a time - if the offliner is
|
| // busy, prevent other requests. This flag marks whether the offliner is in
|
| // use.
|
|
|