diff options
author | neb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-25 19:39:57 +0000 |
---|---|---|
committer | neb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-25 19:39:57 +0000 |
commit | bb06e1bc0c6ebb2988a7ffcfefa22bfccdd82e23 (patch) | |
tree | 1f3b07b297e4758adba96d70723e2d1dec956275 /chrome/renderer/mock_render_thread.h | |
parent | cf1ab6fe1a479279bdf8757f309f7b3d49f1a4df (diff) | |
download | chromium_src-bb06e1bc0c6ebb2988a7ffcfefa22bfccdd82e23.zip chromium_src-bb06e1bc0c6ebb2988a7ffcfefa22bfccdd82e23.tar.gz chromium_src-bb06e1bc0c6ebb2988a7ffcfefa22bfccdd82e23.tar.bz2 |
Add a Pepper audio basic functionality unit test.
Also changed TestSink to be derived from IPC::Channel and made MockRenderThread service AddFilter/RemoveFilter, so that it can be used by MessageFilters.
Review URL: http://codereview.chromium.org/1207005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/mock_render_thread.h')
-rw-r--r-- | chrome/renderer/mock_render_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h index 4f3b1d9..24d646e 100644 --- a/chrome/renderer/mock_render_thread.h +++ b/chrome/renderer/mock_render_thread.h @@ -41,8 +41,8 @@ class MockRenderThread : public RenderThreadBase { virtual bool Send(IPC::Message* msg); // Our mock thread doesn't do filtering. - virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) { } - virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) { } + virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter); + virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter); // Our mock thread doesn't deal with hidden and restored tabs. virtual void WidgetHidden() { } |