Preserve modification timestamp when zipping files.

Files packaged in a zip archive now have their last modification date
and time set. When unzipping the files, the output file's last
modification time is also set (if the time in the zip file is not valid,
the output's file time is not set to prevent the original bug causing
files to have dates set to 1980).

Also fixed some cpplint issues.

BUG=326988
TEST=ZipTest.ZipTimeStamp

Review URL: https://codereview.chromium.org/99333019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241278 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed