For the Background Offline Pages scenario, build and implement the request coordinator described by the design doc here: https://drive.google.com/corp/drive/folders/0Bz0x-BV10ULuNkxVRGhNeVN2MXM
This will involve several steps:
Creating a skeleton C++ class that does nothing. (done)
Creating a base unit test. (done)
Creating a factory to build the class, and a unit test for it. (done)
Hook up the offline menu item to call the request coordinator. (done)
When the request arrives, put it on the request queue.
When the request arrives, ask the scheduler to schedule us
When the scheduler fires, send a task to the appropriate offliner.
When the offliner finishes, start another task if our time budget permits.
Choose the highest priority task that meets the current conditions.
Comment 1 by fgor...@chromium.org
, May 11 2016