Viewing cached webpages while offline is not available on Chrome OS
commitb4fd13cb9dca2d60333e6e9211dd5b88b0ca9739
authorafakhry <afakhry@chromium.org>
Fri, 30 Jan 2015 01:21:44 +0000 (29 17:21 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 30 Jan 2015 01:23:28 +0000 (30 01:23 +0000)
tree0ade0f481e00bcd5f69a5b165c9d2a11be897d07
parent80a34fae5801fada1d7fee796ce75f4e8ae5f6ba
Viewing cached webpages while offline is not available on Chrome OS

Fixed by creating the OfflineResourceThrottle in ChromeOS only if the
"enable-offline-load-stale-cache" flag is not enabled. This allows us to
go back to the default behavior if this flag is turned off.

BUG=433388
TEST=manually
R=oshima@chromium.org,rdsmith@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#313851}
chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
chrome/common/chrome_switches.cc
chrome/common/chrome_switches.h
chrome/renderer/resources/neterror.js