summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 20:59:26 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 20:59:26 +0000
commit471aa54458251126a6bfb918a4b602f3f2a4abe9 (patch)
tree335a5d280ebc993c46facaf8bf0e54841d2c3ce2 /chrome/browser/renderer_host
parent6be3ef5995c3d46a73c0d4a13091c56972c821ab (diff)
downloadchromium_src-471aa54458251126a6bfb918a4b602f3f2a4abe9.zip
chromium_src-471aa54458251126a6bfb918a4b602f3f2a4abe9.tar.gz
chromium_src-471aa54458251126a6bfb918a4b602f3f2a4abe9.tar.bz2
Revert r9861 to fix build
TBR=? Review URL: http://codereview.chromium.org/21399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/resource_message_filter.cc42
-rw-r--r--chrome/browser/renderer_host/resource_message_filter.h11
2 files changed, 0 insertions, 53 deletions
diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc
index 41f593a..e7634dc 100644
--- a/chrome/browser/renderer_host/resource_message_filter.cc
+++ b/chrome/browser/renderer_host/resource_message_filter.cc
@@ -226,13 +226,6 @@ bool ResourceMessageFilter::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ScriptedPrint,
OnScriptedPrint)
#endif
- IPC_MESSAGE_HANDLER(ViewHostMsg_CreateAudioStream, OnCreateAudioStream)
- IPC_MESSAGE_HANDLER(ViewHostMsg_StartAudioStream, OnStartAudioStream)
- IPC_MESSAGE_HANDLER(ViewHostMsg_CloseAudioStream, OnCloseAudioStream)
- IPC_MESSAGE_HANDLER(ViewHostMsg_NotifyAudioPacketReady,
- OnNotifyAudioPacketReady)
- IPC_MESSAGE_HANDLER(ViewHostMsg_GetAudioVolume, OnGetAudioVolume)
- IPC_MESSAGE_HANDLER(ViewHostMsg_SetAudioVolume, OnSetAudioVolume)
IPC_MESSAGE_UNHANDLED(
handled = false)
IPC_END_MESSAGE_MAP_EX()
@@ -758,38 +751,3 @@ void ResourceMessageFilter::OnDnsPrefetch(
const std::vector<std::string>& hostnames) {
chrome_browser_net::DnsPrefetchList(hostnames);
}
-
-void ResourceMessageFilter::OnCreateAudioStream(
- const IPC::Message& msg, int stream_id,
- const ViewHostMsg_Audio_CreateStream& params) {
- // TODO(hclam): call to AudioRendererHost::CreateStream and send a message to
- // renderer to notify the result.
-}
-
-void ResourceMessageFilter::OnNotifyAudioPacketReady(
- const IPC::Message& msg, int stream_id) {
- // TODO(hclam): delegate to AudioRendererHost and handle this message.
-}
-
-void ResourceMessageFilter::OnStartAudioStream(
- const IPC::Message& msg, int stream_id) {
- // TODO(hclam): delegate to AudioRendererHost and handle this message.
-}
-
-
-void ResourceMessageFilter::OnCloseAudioStream(
- const IPC::Message& msg, int stream_id) {
- // TODO(hclam): delegate to AudioRendererHost and handle this message.
-}
-
-void ResourceMessageFilter::OnGetAudioVolume(
- const IPC::Message& msg, int stream_id) {
- // TODO(hclam): delegate to AudioRendererHost and handle this message. Send
- // a message about the volume.
-}
-
-void ResourceMessageFilter::OnSetAudioVolume(
- const IPC::Message& msg, int stream_id,
- double left_channel, double right_channel) {
- // TODO(hclam): delegate to AudioRendererHost and handle this message.
-}
diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h
index 85ad101..4133353 100644
--- a/chrome/browser/renderer_host/resource_message_filter.h
+++ b/chrome/browser/renderer_host/resource_message_filter.h
@@ -31,7 +31,6 @@ class ClipboardService;
class Profile;
class RenderWidgetHelper;
class SpellChecker;
-struct ViewHostMsg_Audio_CreateStream;
struct WebPluginInfo;
namespace printing {
@@ -193,16 +192,6 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter,
IPC::Message* reply_msg);
#endif
- // Audio related IPC message handlers.
- void OnCreateAudioStream(const IPC::Message& msg, int stream_id,
- const ViewHostMsg_Audio_CreateStream& params);
- void OnNotifyAudioPacketReady(const IPC::Message& msg, int stream_id);
- void OnStartAudioStream(const IPC::Message& msg, int stream_id);
- void OnCloseAudioStream(const IPC::Message& msg, int stream_id);
- void OnGetAudioVolume(const IPC::Message& msg, int stream_id);
- void OnSetAudioVolume(const IPC::Message& msg, int stream_id,
- double left_channel, double right_channel);
-
// We have our own clipboard service because we want to access the clipboard
// on the IO thread instead of forwarding (possibly synchronous) messages to
// the UI thread.