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

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

Issue 11573066: Add a method to tab_utils.h to find out whether a tab is playing audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 10 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/audio_renderer_host.cc ('k') | content/public/browser/media_observer.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
diff --git a/content/browser/renderer_host/media/mock_media_observer.h b/content/browser/renderer_host/media/mock_media_observer.h
index 3c97f0a994f6c525ef9b573a971fcad015959939..f2a7bd71c996b53532f5236d04f20ba02f17ecaf 100644
--- a/content/browser/renderer_host/media/mock_media_observer.h
+++ b/content/browser/renderer_host/media/mock_media_observer.h
@@ -34,6 +34,11 @@ class MockMediaObserver : public MediaObserver {
void(int render_process_id, int render_view_id,
const MediaStreamDevice& device,
const MediaRequestState state));
+ MOCK_METHOD4(OnAudioStreamPlayingChanged,
+ void(int render_process_id,
+ int render_view_id,
+ int stream_id,
+ bool playing));
};
class MockMediaInternals : public MediaInternals {
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host.cc ('k') | content/public/browser/media_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698