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

Unified Diff: content/public/browser/media_observer.h

Issue 12153002: Move chrome://media-internals to content. This allows us to hide implementation details from the pu… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
Index: content/public/browser/media_observer.h
===================================================================
--- content/public/browser/media_observer.h (revision 179909)
+++ content/public/browser/media_observer.h (working copy)
@@ -8,36 +8,12 @@
#include "content/public/browser/media_request_state.h"
#include "content/public/common/media_stream_request.h"
-namespace media {
-struct MediaLogEvent;
-}
-
namespace content {
// An embedder may implement MediaObserver and return it from
// ContentBrowserClient to receive callbacks as media events occur.
class MediaObserver {
public:
- // Called when an audio stream is deleted.
- virtual void OnDeleteAudioStream(void* host, int stream_id) = 0;
scherkus (not reviewing) 2013/02/01 02:05:17 AWESOME!
-
- // Called when an audio stream is set to playing or paused.
- virtual void OnSetAudioStreamPlaying(void* host, int stream_id,
- bool playing) = 0;
-
- // Called when the status of an audio stream is set to "created", "flushed",
- // "closed", or "error".
- virtual void OnSetAudioStreamStatus(void* host, int stream_id,
- const std::string& status) = 0;
-
- // Called when the volume of an audio stream is set.
- virtual void OnSetAudioStreamVolume(void* host, int stream_id,
- double volume) = 0;
-
- // Called when a MediaEvent occurs.
- virtual void OnMediaEvent(int render_process_id,
- const media::MediaLogEvent& event) = 0;
-
// Called when capture devices are opened.
virtual void OnCaptureDevicesOpened(
int render_process_id,

Powered by Google App Engine
This is Rietveld 408576698