diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 01:14:58 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 01:14:58 +0000 |
commit | 2e2a5404a58ae577ebfa65e6f7575eec8cd393cf (patch) | |
tree | 3fc7dfe6b7da820cc05319f17c4316c54151385e /chrome/browser/tab_contents | |
parent | 5d56ba000c0f51a91632708a27cb25367120a61d (diff) | |
download | chromium_src-2e2a5404a58ae577ebfa65e6f7575eec8cd393cf.zip chromium_src-2e2a5404a58ae577ebfa65e6f7575eec8cd393cf.tar.gz chromium_src-2e2a5404a58ae577ebfa65e6f7575eec8cd393cf.tar.bz2 |
Adds a command line switch to enable the appcache, and plumb the switch throughto preferences and webcore settings.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/164306
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/render_view_host_delegate_helper.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc index d28d0f5..5146caf 100644 --- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc +++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc @@ -176,6 +176,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( command_line.HasSwitch(switches::kEnableRemoteFonts); web_prefs.xss_auditor_enabled = command_line.HasSwitch(switches::kEnableXSSAuditor); + web_prefs.application_cache_enabled = + command_line.HasSwitch(switches::kEnableApplicationCache); // NOTE: We imply local storage enabledness for extensions because the // extensions team is beta testing local storage and we like to live on the |