| Index: ppapi/shared_impl/ppb_audio_config_shared.h
|
| diff --git a/ppapi/shared_impl/audio_config_impl.h b/ppapi/shared_impl/ppb_audio_config_shared.h
|
| similarity index 73%
|
| rename from ppapi/shared_impl/audio_config_impl.h
|
| rename to ppapi/shared_impl/ppb_audio_config_shared.h
|
| index 7577e00ab4dcbd8b7edfcc1f564808e02d2aa407..65e3b2b6cc762bd99d2f4421c257772584f49080 100644
|
| --- a/ppapi/shared_impl/audio_config_impl.h
|
| +++ b/ppapi/shared_impl/ppb_audio_config_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_CONFIG_IMPL_H_
|
| -#define PPAPI_SHARED_IMPL_AUDIO_CONFIG_IMPL_H_
|
| +#ifndef PPAPI_SHARED_IMPL_PPB_AUDIO_CONFIG_SHARED_H_
|
| +#define PPAPI_SHARED_IMPL_PPB_AUDIO_CONFIG_SHARED_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| @@ -12,11 +12,11 @@
|
|
|
| namespace ppapi {
|
|
|
| -class PPAPI_SHARED_EXPORT AudioConfigImpl
|
| +class PPAPI_SHARED_EXPORT PPB_AudioConfig_Shared
|
| : public Resource,
|
| public thunk::PPB_AudioConfig_API {
|
| public:
|
| - virtual ~AudioConfigImpl();
|
| + virtual ~PPB_AudioConfig_Shared();
|
|
|
| static PP_Resource CreateAsImpl(PP_Instance instance,
|
| PP_AudioSampleRate sample_rate,
|
| @@ -34,8 +34,10 @@ class PPAPI_SHARED_EXPORT AudioConfigImpl
|
|
|
| private:
|
| // You must call Init before using this object.
|
| - explicit AudioConfigImpl(PP_Instance instance); // Impl c'tor.
|
| - explicit AudioConfigImpl(const HostResource& host_resource); // Proxy c'tor.
|
| + // Construct as implementation.
|
| + explicit PPB_AudioConfig_Shared(PP_Instance instance);
|
| + // Construct as proxy.
|
| + explicit PPB_AudioConfig_Shared(const HostResource& host_resource);
|
|
|
| // Returns false if the arguments are invalid, the object should not be
|
| // used in this case.
|
| @@ -44,9 +46,9 @@ class PPAPI_SHARED_EXPORT AudioConfigImpl
|
| PP_AudioSampleRate sample_rate_;
|
| uint32_t sample_frame_count_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(AudioConfigImpl);
|
| + DISALLOW_COPY_AND_ASSIGN(PPB_AudioConfig_Shared);
|
| };
|
|
|
| } // namespace ppapi
|
|
|
| -#endif // PPAPI_SHARED_IMPL_AUDIO_CONFIG_IMPL_H_
|
| +#endif // PPAPI_SHARED_IMPL_PPB_AUDIO_CONFIG_SHARED_H_
|
|
|