Add maximum inspection size for RAR archives

Finch showed a significant difference in inspection time when enabling
content inspection for RAR archives (http://shortn/_64qaXWf78L). I
expect this is because RARs archives tend to be very large, so
unpacking the archive takes a lot of time. This CL has the RAR
analyzer fall back to the old behavior for large (> 50MB) archives.

Bug: 909778
Change-Id: I5a42c4921d7858cdd8e68d629b6326c450b41d75
Reviewed-on: https://chromium-review.googlesource.com/c/1415253
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Reviewed-by: Varun Khaneja <vakh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#623787}
3 files changed