Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: ppapi/proxy/ppb_audio_proxy.cc

Issue 6279003: Move ppapi audio interface out of dev, but... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.h ('k') | ppapi/shared_impl/audio_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_audio_proxy.cc
===================================================================
--- ppapi/proxy/ppb_audio_proxy.cc (revision 71486)
+++ ppapi/proxy/ppb_audio_proxy.cc (working copy)
@@ -5,9 +5,9 @@
#include "ppapi/proxy/ppb_audio_proxy.h"
#include "base/threading/simple_thread.h"
-#include "ppapi/c/dev/ppb_audio_dev.h"
-#include "ppapi/c/dev/ppb_audio_trusted_dev.h"
#include "ppapi/c/pp_errors.h"
+#include "ppapi/c/ppb_audio.h"
+#include "ppapi/c/trusted/ppb_audio_trusted.h"
#include "ppapi/proxy/interface_id.h"
#include "ppapi/proxy/plugin_dispatcher.h"
#include "ppapi/proxy/plugin_resource.h"
@@ -105,7 +105,7 @@
return PP_TRUE;
}
-const PPB_Audio_Dev audio_interface = {
+const PPB_Audio audio_interface = {
&Create,
&IsAudio,
&GetCurrentConfiguration,
@@ -148,9 +148,9 @@
void PPB_Audio_Proxy::OnMsgCreate(PP_Instance instance_id,
PP_Resource config_id,
PP_Resource* result) {
- const PPB_AudioTrusted_Dev* audio_trusted =
- reinterpret_cast<const PPB_AudioTrusted_Dev*>(
- dispatcher()->GetLocalInterface(PPB_AUDIO_TRUSTED_DEV_INTERFACE));
+ const PPB_AudioTrusted* audio_trusted =
+ reinterpret_cast<const PPB_AudioTrusted*>(
+ dispatcher()->GetLocalInterface(PPB_AUDIO_TRUSTED_INTERFACE));
if (!audio_trusted) {
*result = 0;
return;
@@ -231,9 +231,9 @@
base::SharedMemoryHandle* foreign_shared_memory_handle,
uint32_t* shared_memory_length) {
// Get the trusted audio interface which will give us the handles.
- const PPB_AudioTrusted_Dev* audio_trusted =
- reinterpret_cast<const PPB_AudioTrusted_Dev*>(
- dispatcher()->GetLocalInterface(PPB_AUDIO_TRUSTED_DEV_INTERFACE));
+ const PPB_AudioTrusted* audio_trusted =
+ reinterpret_cast<const PPB_AudioTrusted*>(
+ dispatcher()->GetLocalInterface(PPB_AUDIO_TRUSTED_INTERFACE));
if (!audio_trusted)
return PP_ERROR_NOINTERFACE;
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.h ('k') | ppapi/shared_impl/audio_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698