-
Sebastien authored
Created a new DataFilesParser class which wraps the file IO operations, allowing us to mock these calls in unit tests. The file reading operation is kicked-off in a task posted on the thread pool to make sure we're not blocking the calling thread. In this CL, the highlighted game is simply the first game in the catalog. A future CL will update that logic. Bug: 1018201 Change-Id: Ic7bb5795344a7a3b4017587d7041ace77d921b00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928205 Commit-Queue: Sebastien Lalancette <seblalancette@chromium.org> Reviewed-by:
Chris Sharp <csharp@chromium.org> Cr-Commit-Position: refs/heads/master@{#719144}
5a9394be