Add field to EntryInfo for whether the file is encrypted

Currently, an encrypted file will simply fail to extract. It is useful
for SafeBrowsing to be able to indicate that the file is encrypted,
instead of malformed.

Bug: 874621
Change-Id: Ie0b2448b0fd2340c554351d1131baa3854a73e44
Reviewed-on: https://chromium-review.googlesource.com/1176558
Reviewed-by: Varun Khaneja <vakh@chromium.org>
Reviewed-by: Satoru Takabayashi <satorux@chromium.org>
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#585093}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 04f531f50c26ce40558416c67682c430f944b9c6
5 files changed