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/common/render_messages.h | |
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/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 63d91c0..fefa3ac 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -1624,6 +1624,7 @@ struct ParamTraits<WebPreferences> { WriteParam(m, p.xss_auditor_enabled); WriteParam(m, p.local_storage_enabled); WriteParam(m, p.session_storage_enabled); + WriteParam(m, p.application_cache_enabled); } static bool Read(const Message* m, void** iter, param_type* p) { return @@ -1656,7 +1657,8 @@ struct ParamTraits<WebPreferences> { ReadParam(m, iter, &p->remote_fonts_enabled) && ReadParam(m, iter, &p->xss_auditor_enabled) && ReadParam(m, iter, &p->local_storage_enabled) && - ReadParam(m, iter, &p->session_storage_enabled); + ReadParam(m, iter, &p->session_storage_enabled) && + ReadParam(m, iter, &p->application_cache_enabled); } static void Log(const param_type& p, std::wstring* l) { l->append(L"<WebPreferences>"); |