| Index: ppapi/proxy/ppb_audio_config_proxy.cc
|
| ===================================================================
|
| --- ppapi/proxy/ppb_audio_config_proxy.cc (revision 73960)
|
| +++ ppapi/proxy/ppb_audio_config_proxy.cc (working copy)
|
| @@ -95,6 +95,11 @@
|
| &GetSampleFrameCount
|
| };
|
|
|
| +InterfaceProxy* CreateAudioConfigProxy(Dispatcher* dispatcher,
|
| + const void* target_interface) {
|
| + return new PPB_AudioConfig_Proxy(dispatcher, target_interface);
|
| +}
|
| +
|
| } // namespace
|
|
|
| PPB_AudioConfig_Proxy::PPB_AudioConfig_Proxy(Dispatcher* dispatcher,
|
| @@ -105,14 +110,18 @@
|
| PPB_AudioConfig_Proxy::~PPB_AudioConfig_Proxy() {
|
| }
|
|
|
| -const void* PPB_AudioConfig_Proxy::GetSourceInterface() const {
|
| - return &audio_config_interface;
|
| +// static
|
| +const InterfaceProxy::Info* PPB_AudioConfig_Proxy::GetInfo() {
|
| + static const Info info = {
|
| + &audio_config_interface,
|
| + PPB_AUDIO_CONFIG_INTERFACE,
|
| + INTERFACE_ID_PPB_AUDIO_CONFIG,
|
| + false,
|
| + &CreateAudioConfigProxy,
|
| + };
|
| + return &info;
|
| }
|
|
|
| -InterfaceID PPB_AudioConfig_Proxy::GetInterfaceId() const {
|
| - return INTERFACE_ID_PPB_AUDIO_CONFIG;
|
| -}
|
| -
|
| bool PPB_AudioConfig_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(PPB_AudioConfig_Proxy, msg)
|
|
|