Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: chrome/browser/renderer_host/audio_renderer_host.h

Issue 5541005: Make BrowserMessageFilter support dispatching messages on different threads. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_message_filter.cc ('k') | chrome/browser/renderer_host/audio_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/audio_renderer_host.h
===================================================================
--- chrome/browser/renderer_host/audio_renderer_host.h (revision 68741)
+++ chrome/browser/renderer_host/audio_renderer_host.h (working copy)
@@ -60,7 +60,7 @@
#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
#include "base/shared_memory.h"
-#include "chrome/browser/browser_io_message_filter.h"
+#include "chrome/browser/browser_message_filter.h"
#include "chrome/browser/browser_thread.h"
#include "ipc/ipc_message.h"
#include "media/audio/audio_io.h"
@@ -70,7 +70,7 @@
class AudioManager;
struct ViewHostMsg_Audio_CreateStream_Params;
-class AudioRendererHost : public BrowserIOMessageFilter,
+class AudioRendererHost : public BrowserMessageFilter,
public media::AudioOutputController::EventHandler {
public:
typedef std::pair<int32, int> AudioEntryId;
@@ -107,10 +107,11 @@
AudioRendererHost();
- // BrowserIOMessageFilter implementation
- virtual bool OnMessageReceived(const IPC::Message& message);
+ // BrowserMessageFilter implementation.
virtual void OnChannelClosing();
virtual void OnDestruct() const;
+ virtual bool OnMessageReceived(const IPC::Message& message,
+ bool* message_was_ok);
/////////////////////////////////////////////////////////////////////////////
// AudioOutputController::EventHandler implementations.
« no previous file with comments | « chrome/browser/browser_message_filter.cc ('k') | chrome/browser/renderer_host/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698