| Index: ppapi/shared_impl/ppb_audio_input_shared.h
|
| diff --git a/ppapi/shared_impl/audio_input_impl.h b/ppapi/shared_impl/ppb_audio_input_shared.h
|
| similarity index 89%
|
| rename from ppapi/shared_impl/audio_input_impl.h
|
| rename to ppapi/shared_impl/ppb_audio_input_shared.h
|
| index e7604c33d36eedf478c3710bf6be9e7b01636895..5c5e88d65e4bd5db67c7d3e92edd96b57747ceff 100644
|
| --- a/ppapi/shared_impl/audio_input_impl.h
|
| +++ b/ppapi/shared_impl/ppb_audio_input_shared.h
|
| @@ -2,9 +2,10 @@
|
| // 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_INPUT_IMPL_H_
|
| -#define PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_
|
| +#ifndef PPAPI_SHARED_IMPL_PPB_AUDIO_INPUT_SHARED_H_
|
| +#define PPAPI_SHARED_IMPL_PPB_AUDIO_INPUT_SHARED_H_
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/shared_memory.h"
|
| #include "base/sync_socket.h"
|
| @@ -18,12 +19,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 AudioInputImpl
|
| +class PPAPI_SHARED_EXPORT PPB_AudioInput_Shared
|
| : public thunk::PPB_AudioInput_API,
|
| public base::DelegateSimpleThread::Delegate {
|
| public:
|
| - AudioInputImpl();
|
| - virtual ~AudioInputImpl();
|
| + PPB_AudioInput_Shared();
|
| + virtual ~PPB_AudioInput_Shared();
|
|
|
| bool capturing() const { return capturing_; }
|
|
|
| @@ -81,8 +82,10 @@ class PPAPI_SHARED_EXPORT AudioInputImpl
|
|
|
| // User data pointer passed verbatim to the callback function.
|
| void* user_data_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PPB_AudioInput_Shared);
|
| };
|
|
|
| } // namespace ppapi
|
|
|
| -#endif // PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_
|
| +#endif // PPAPI_SHARED_IMPL_PPB_AUDIO_INPUT_SHARED_H_
|
|
|