| Index: ppapi/shared_impl/ppb_audio_shared.h
|
| diff --git a/ppapi/shared_impl/audio_impl.h b/ppapi/shared_impl/ppb_audio_shared.h
|
| similarity index 91%
|
| rename from ppapi/shared_impl/audio_impl.h
|
| rename to ppapi/shared_impl/ppb_audio_shared.h
|
| index 201582d57385fca7b5d3997981af3cfb1aeea718..99f45dea6ec5f3bbed7d8f33986826911e0b2599 100644
|
| --- a/ppapi/shared_impl/audio_impl.h
|
| +++ b/ppapi/shared_impl/ppb_audio_shared.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef PPAPI_SHARED_IMPL_AUDIO_IMPL_H_
|
| -#define PPAPI_SHARED_IMPL_AUDIO_IMPL_H_
|
| +#ifndef PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_
|
| +#define PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/shared_memory.h"
|
| @@ -18,12 +18,12 @@ namespace ppapi {
|
| // Implements the logic to map shared memory and run the audio thread signaled
|
| // from the sync socket. Both the proxy and the renderer implementation use
|
| // this code.
|
| -class PPAPI_SHARED_EXPORT AudioImpl
|
| +class PPAPI_SHARED_EXPORT PPB_Audio_Shared
|
| : public thunk::PPB_Audio_API,
|
| public base::DelegateSimpleThread::Delegate {
|
| public:
|
| - AudioImpl();
|
| - virtual ~AudioImpl();
|
| + PPB_Audio_Shared();
|
| + virtual ~PPB_Audio_Shared();
|
|
|
| bool playing() const { return playing_; }
|
|
|
| @@ -80,8 +80,10 @@ class PPAPI_SHARED_EXPORT AudioImpl
|
|
|
| // User data pointer passed verbatim to the callback function.
|
| void* user_data_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Shared);
|
| };
|
|
|
| } // namespace ppapi
|
|
|
| -#endif // PPAPI_SHARED_IMPL_AUDIO_IMPL_H_
|
| +#endif // PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_
|
|
|