Index: media/audio/audio_output_controller.h |
diff --git a/media/audio/audio_output_controller.h b/media/audio/audio_output_controller.h |
index 33bf21790298881d00bab796c50f107efa13d7f0..a8857a2cf911409c5c441a3b902797b6ff501c44 100644 |
--- a/media/audio/audio_output_controller.h |
+++ b/media/audio/audio_output_controller.h |
@@ -76,11 +76,13 @@ class MEDIA_EXPORT AudioOutputController |
// following methods are called on the audio manager thread. |
class MEDIA_EXPORT EventHandler { |
public: |
- virtual ~EventHandler() {} |
virtual void OnCreated(AudioOutputController* controller) = 0; |
virtual void OnPlaying(AudioOutputController* controller) = 0; |
virtual void OnPaused(AudioOutputController* controller) = 0; |
virtual void OnError(AudioOutputController* controller, int error_code) = 0; |
+ |
+ protected: |
+ virtual ~EventHandler() {} |
}; |
// A synchronous reader interface used by AudioOutputController for |