Reland: Add util method to update ArchiveAnalyzerResults for a single file

This CL breaks out the code that inspects an individual file within a
ZIP archive. This will be shared between the ZIP and RAR inspection,
when RAR files begin doing content inspection.

This is a reland of
https://chromium-review.googlesource.com/c/chromium/src/+/1354103
The OOB read has been fixed between patchsets 1 and 2.

Bug: 909778
Change-Id: I707364516217136ee95174bbae930b5df0cf54ed
TBR: jcivelli@
Reviewed-on: https://chromium-review.googlesource.com/c/1359037
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Reviewed-by: Varun Khaneja <vakh@chromium.org>
Reviewed-by: Brian White <bcwhite@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614486}
7 files changed