platform-graphics: Refactor Harvest trace/archive code

This is in preparation for generating protobufs for result DB.
Refactoring the code that extracts trace data from archives into its own
class. Aside from general clean up, that also makes it easier to retain
trace-related data such as trace info and game info for subsequent
access.

BUG=None
TEST=(1) Build with make and ebuild/emerge-nami. (2) Run a sample trace
through Harvest on both crostini/crouton.

Change-Id: I2be01af28b70d9c2ed4fa85ee512ae67273c4e34
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/graphics/+/2199756
Commit-Queue: Georges Winkenbach <gwink@chromium.org>
Tested-by: Georges Winkenbach <gwink@chromium.org>
Reviewed-by: David Riley <davidriley@chromium.org>
3 files changed
tree: c8b4e1b84e59c06bdec9234596acf6461eb7bdb9
  1. src/
  2. .gitignore
  3. OWNERS
  4. PRESUBMIT.cfg
  5. PRESUBMIT.py
  6. pylintrc