summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.cc
diff options
context:
space:
mode:
authorcrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 02:32:56 +0000
committercrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 02:32:56 +0000
commita4f4692c776153b2b61c0a63d8b9c80e56613881 (patch)
tree568fe436aa90898fce4efb0ffb4955ec3422a4da /chrome/common/render_messages.cc
parent972131b44e48e0c2558e46e22e692f279f3c5cea (diff)
downloadchromium_src-a4f4692c776153b2b61c0a63d8b9c80e56613881.zip
chromium_src-a4f4692c776153b2b61c0a63d8b9c80e56613881.tar.gz
chromium_src-a4f4692c776153b2b61c0a63d8b9c80e56613881.tar.bz2
Add run-time enable support for the web audio API
BUG=none TEST=none (tested locally on Mac OS X to verify about:flags shows the web audio feature and that it can be enabled/disabled) Review URL: http://codereview.chromium.org/6339004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.cc')
-rw-r--r--chrome/common/render_messages.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/render_messages.cc b/chrome/common/render_messages.cc
index eaf1504..a49ea2e 100644
--- a/chrome/common/render_messages.cc
+++ b/chrome/common/render_messages.cc
@@ -723,6 +723,7 @@ void ParamTraits<WebPreferences>::Write(Message* m, const param_type& p) {
WriteParam(m, p.frame_flattening_enabled);
WriteParam(m, p.allow_universal_access_from_file_urls);
WriteParam(m, p.allow_file_access_from_file_urls);
+ WriteParam(m, p.webaudio_enabled);
WriteParam(m, p.experimental_webgl_enabled);
WriteParam(m, p.show_composited_layer_borders);
WriteParam(m, p.accelerated_compositing_enabled);
@@ -777,6 +778,7 @@ bool ParamTraits<WebPreferences>::Read(const Message* m, void** iter,
ReadParam(m, iter, &p->frame_flattening_enabled) &&
ReadParam(m, iter, &p->allow_universal_access_from_file_urls) &&
ReadParam(m, iter, &p->allow_file_access_from_file_urls) &&
+ ReadParam(m, iter, &p->webaudio_enabled) &&
ReadParam(m, iter, &p->experimental_webgl_enabled) &&
ReadParam(m, iter, &p->show_composited_layer_borders) &&
ReadParam(m, iter, &p->accelerated_compositing_enabled) &&