| Index: ppapi/proxy/ppb_audio_proxy.h
|
| diff --git a/ppapi/proxy/ppb_audio_proxy.h b/ppapi/proxy/ppb_audio_proxy.h
|
| index e39a82dcdc04114718fb8d90a99130443317a1b9..78abbbc04243717c7f81acca76309fc7e3b120c2 100644
|
| --- a/ppapi/proxy/ppb_audio_proxy.h
|
| +++ b/ppapi/proxy/ppb_audio_proxy.h
|
| @@ -22,11 +22,13 @@
|
|
|
| struct PPB_Audio;
|
|
|
| +namespace ppapi {
|
| +class HostResource;
|
| +}
|
| +
|
| namespace pp {
|
| namespace proxy {
|
|
|
| -class HostResource;
|
| -
|
| class PPB_Audio_Proxy : public InterfaceProxy {
|
| public:
|
| PPB_Audio_Proxy(Dispatcher* dispatcher, const void* target_interface);
|
| @@ -53,18 +55,18 @@ class PPB_Audio_Proxy : public InterfaceProxy {
|
| void OnMsgCreate(PP_Instance instance_id,
|
| int32_t sample_rate,
|
| uint32_t sample_frame_count,
|
| - HostResource* result);
|
| - void OnMsgStartOrStop(const HostResource& audio_id, bool play);
|
| + ppapi::HostResource* result);
|
| + void OnMsgStartOrStop(const ppapi::HostResource& audio_id, bool play);
|
|
|
| // Renderer->plugin message handlers.
|
| - void OnMsgNotifyAudioStreamCreated(const HostResource& audio_id,
|
| + void OnMsgNotifyAudioStreamCreated(const ppapi::HostResource& audio_id,
|
| int32_t result_code,
|
| IPC::PlatformFileForTransit socket_handle,
|
| base::SharedMemoryHandle handle,
|
| uint32_t length);
|
|
|
| void AudioChannelConnected(int32_t result,
|
| - const HostResource& resource);
|
| + const ppapi::HostResource& resource);
|
|
|
| // In the renderer, this is called in response to a stream created message.
|
| // It will retrieve the shared memory and socket handles and place them into
|
| @@ -75,7 +77,7 @@ class PPB_Audio_Proxy : public InterfaceProxy {
|
| // arguments may be written to, and others may be untouched, depending on
|
| // where the error occurred.
|
| int32_t GetAudioConnectedHandles(
|
| - const HostResource& resource,
|
| + const ppapi::HostResource& resource,
|
| IPC::PlatformFileForTransit* foreign_socket_handle,
|
| base::SharedMemoryHandle* foreign_shared_memory_handle,
|
| uint32_t* shared_memory_length);
|
|
|