Index: media/audio/audio_input_controller.h |
diff --git a/media/audio/audio_input_controller.h b/media/audio/audio_input_controller.h |
index 200e0e435a5f10e5f15668b178975c5b861be347..964d797278b032b9ed75f37835e3d8e3ad393599 100644 |
--- a/media/audio/audio_input_controller.h |
+++ b/media/audio/audio_input_controller.h |
@@ -80,12 +80,14 @@ class MEDIA_EXPORT AudioInputController |
// following methods are all called on the audio thread. |
class MEDIA_EXPORT EventHandler { |
public: |
- virtual ~EventHandler() {} |
virtual void OnCreated(AudioInputController* controller) = 0; |
virtual void OnRecording(AudioInputController* controller) = 0; |
virtual void OnError(AudioInputController* controller, int error_code) = 0; |
virtual void OnData(AudioInputController* controller, const uint8* data, |
uint32 size) = 0; |
+ |
+ protected: |
+ virtual ~EventHandler() {} |
}; |
// A synchronous writer interface used by AudioInputController for |