diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 20:39:17 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 20:39:17 +0000 |
commit | e3c01687c706dd742f75c3404605124b0f2fbd89 (patch) | |
tree | 817e75dd3cd9c8cb9170507464e5f390fec8b33e /chrome/common/render_messages.h | |
parent | c99613d0bc1dd6d06839ac72e08a8f2dc6e7fa6b (diff) | |
download | chromium_src-e3c01687c706dd742f75c3404605124b0f2fbd89.zip chromium_src-e3c01687c706dd742f75c3404605124b0f2fbd89.tar.gz chromium_src-e3c01687c706dd742f75c3404605124b0f2fbd89.tar.bz2 |
Adds command line flag to enable desktop notifications.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/249057/show
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28031 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 1dfc4b9..bd1b676 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -1651,6 +1651,7 @@ struct ParamTraits<WebPreferences> { WriteParam(m, p.session_storage_enabled); WriteParam(m, p.application_cache_enabled); WriteParam(m, p.experimental_webgl_enabled); + WriteParam(m, p.experimental_notifications_enabled); } static bool Read(const Message* m, void** iter, param_type* p) { return @@ -1686,7 +1687,8 @@ struct ParamTraits<WebPreferences> { ReadParam(m, iter, &p->databases_enabled) && ReadParam(m, iter, &p->session_storage_enabled) && ReadParam(m, iter, &p->application_cache_enabled) && - ReadParam(m, iter, &p->experimental_webgl_enabled); + ReadParam(m, iter, &p->experimental_webgl_enabled) && + ReadParam(m, iter, &p->experimental_notifications_enabled); } static void Log(const param_type& p, std::wstring* l) { l->append(L"<WebPreferences>"); |