Index: media/audio/audio_logging.h |
diff --git a/media/audio/audio_logging.h b/media/audio/audio_logging.h |
index 5b1848ea7a6c0c4e2931152fee868c7e9d8c289a..6bfd90415c432476518bfc0b940f6427e8a70e9e 100644 |
--- a/media/audio/audio_logging.h |
+++ b/media/audio/audio_logging.h |
@@ -10,6 +10,7 @@ |
namespace media { |
+ |
class AudioParameters; |
// AudioLog logs state information about an active audio component. Each method |
@@ -48,6 +49,9 @@ class AudioLog { |
// new audio output device. |
virtual void OnSwitchOutputDevice(int component_id, |
const std::string& device_id) = 0; |
+ |
+ // Called when an audio component wants to forward a log message. |
+ virtual void OnLogMessage(int component_id, const std::string& message) = 0; |
}; |
// AudioLogFactory dispenses AudioLog instances to owning classes for tracking |