| Index: content/renderer/pepper/pepper_platform_audio_output_impl.h
|
| diff --git a/content/renderer/pepper/pepper_platform_audio_output_impl.h b/content/renderer/pepper/pepper_platform_audio_output_impl.h
|
| index 6ad8b80a050f045330e7ce92528604b01457db6c..3b426adbf7a6fe1d7b2e8989b9c3ad37f3ef1b41 100644
|
| --- a/content/renderer/pepper/pepper_platform_audio_output_impl.h
|
| +++ b/content/renderer/pepper/pepper_platform_audio_output_impl.h
|
| @@ -25,8 +25,6 @@ class PepperPlatformAudioOutputImpl
|
| public AudioMessageFilter::Delegate,
|
| public base::RefCountedThreadSafe<PepperPlatformAudioOutputImpl> {
|
| public:
|
| - virtual ~PepperPlatformAudioOutputImpl();
|
| -
|
| // Factory function, returns NULL on failure. StreamCreated() will be called
|
| // when the stream is created.
|
| static PepperPlatformAudioOutputImpl* Create(
|
| @@ -39,7 +37,18 @@ class PepperPlatformAudioOutputImpl
|
| virtual bool StopPlayback() OVERRIDE;
|
| virtual void ShutDown() OVERRIDE;
|
|
|
| + // AudioMessageFilter::Delegate.
|
| + virtual void OnStateChanged(AudioStreamState state) OVERRIDE;
|
| + virtual void OnStreamCreated(base::SharedMemoryHandle handle,
|
| + base::SyncSocket::Handle socket_handle,
|
| + uint32 length) OVERRIDE;
|
| +
|
| + protected:
|
| + virtual ~PepperPlatformAudioOutputImpl();
|
| +
|
| private:
|
| + friend class base::RefCountedThreadSafe<PepperPlatformAudioOutputImpl>;
|
| +
|
| PepperPlatformAudioOutputImpl();
|
|
|
| bool Initialize(
|
| @@ -53,12 +62,6 @@ class PepperPlatformAudioOutputImpl
|
| void StopPlaybackOnIOThread();
|
| void ShutDownOnIOThread();
|
|
|
| - // AudioMessageFilter::Delegate.
|
| - virtual void OnStateChanged(AudioStreamState state) OVERRIDE;
|
| - virtual void OnStreamCreated(base::SharedMemoryHandle handle,
|
| - base::SyncSocket::Handle socket_handle,
|
| - uint32 length) OVERRIDE;
|
| -
|
| // The client to notify when the stream is created. THIS MUST ONLY BE
|
| // ACCESSED ON THE MAIN THREAD.
|
| webkit::ppapi::PluginDelegate::PlatformAudioOutputClient* client_;
|
|
|