[Offline Pages] Implementing create archive task.
Implementing CreateArchiveTask, which is a task for starting the archive creation but will not wait for the completion of the process, in order to support multiple archivers working in parallel. The creator of the task has to provide a CreateArchiveTaskCallback, which will be processing the arguments and decide whether the creation is successful, so that it can create AddPageTask for next steps. Also duplicating most of the tests related with archive creation from the OfflinePageModelImpl unit tests. Bug: 753595 Change-Id: I915daab56a260ccaa9c028c0ea95c2ff0646d461 Reviewed-on: https://chromium-review.googlesource.com/634084 Commit-Queue: Yafei Duan <romax@chromium.org> Reviewed-by:Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#501468}
Showing
This diff is collapsed.
Please register or sign in to comment