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

Unified Diff: content/browser/renderer_host/media/mock_media_observer.h

Issue 7157001: Implements AudioMessageFilter as member in RenderThread (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Fixed nits in AudioRenderImpl unit test Created 9 years, 5 months 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 | « content/browser/renderer_host/media/media_observer.h ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/mock_media_observer.h
===================================================================
--- content/browser/renderer_host/media/mock_media_observer.h (revision 92113)
+++ content/browser/renderer_host/media/mock_media_observer.h (working copy)
@@ -17,17 +17,14 @@
MockMediaObserver();
virtual ~MockMediaObserver();
- MOCK_METHOD3(OnDeleteAudioStream,
- void(void* host, int32 render_view, int stream_id));
- MOCK_METHOD4(OnSetAudioStreamPlaying,
- void(void* host, int32 render_view, int stream_id,
- bool playing));
- MOCK_METHOD4(OnSetAudioStreamStatus,
- void(void* host, int32 render_view, int stream_id,
- const std::string& status));
- MOCK_METHOD4(OnSetAudioStreamVolume,
- void(void* host, int32 render_view, int stream_id,
- double volume));
+ MOCK_METHOD2(OnDeleteAudioStream,
+ void(void* host, int stream_id));
+ MOCK_METHOD3(OnSetAudioStreamPlaying,
+ void(void* host, int stream_id, bool playing));
+ MOCK_METHOD3(OnSetAudioStreamStatus,
+ void(void* host, int stream_id, const std::string& status));
+ MOCK_METHOD3(OnSetAudioStreamVolume,
+ void(void* host, int stream_id, double volume));
};
#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_
« no previous file with comments | « content/browser/renderer_host/media/media_observer.h ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698