Lock log files when reiniting them.
Lock log files when reiniting them.

This is a second attempt of this cl:
http://codereview.chromium.org/3195014/show

BUG=NONE
TEST=NONE

Review URL: http://codereview.chromium.org/3347016

git-svn-id: http://src.chromium.org/svn/trunk/src@59439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 9e6a3f40123a4b1e1027328f91b497ea8f02f72e
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser