autoreload: don't set flags if disabled
commit52e3011a350034bbd1f39cfdc59b007eecff813d
authorellyjones@chromium.org <ellyjones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 7 Apr 2014 13:35:30 +0000 (7 13:35 +0000)
committerellyjones@chromium.org <ellyjones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 7 Apr 2014 13:35:30 +0000 (7 13:35 +0000)
tree5dfcec347a73d46a37c534ccc8769700c5376ae6
parent74f0c36a21f4fc929759962e57981cbb0492171d
autoreload: don't set flags if disabled

Autoreload doesn't need to track state if it's disabled, and doing so causes
NetErrorHelperCore to upload bogus histogram values.

TEST=unit
BUG=359594

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262118 0039d316-1c4b-4281-b951-d872f2087c98
chrome/renderer/net/net_error_helper_core.cc