Add support for loading pak files from arbitrary file regions.
This is to support a new use case for Android: mmap a pak file
directly from the APK (where it will be stored uncompressed)
without extracting it first. This would save both precious space
on the flash and startup time on the first run.
This CL introduces:
- the necessary changes to base::File to memory map arbitrary
regions of a file.
- The corresponding changes (plus unittests) in DataPack and
ResourceBundle to take advantage of the new support.
At present state, this CL is not intended to introduce any
behavioral change.
BUG=394502
Review URL: https://codereview.chromium.org/
394313002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285945 0039d316-1c4b-4281-b951-d872f2087c98