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

Unified Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 8561003: Revert 110602 - Revert 110587 - Microphone support for Pepper Flash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/resource_creation_proxy.h ('k') | ppapi/shared_impl/api_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/resource_creation_proxy.cc
===================================================================
--- ppapi/proxy/resource_creation_proxy.cc (revision 110608)
+++ ppapi/proxy/resource_creation_proxy.cc (working copy)
@@ -10,6 +10,7 @@
#include "ppapi/proxy/plugin_dispatcher.h"
#include "ppapi/proxy/plugin_resource_tracker.h"
#include "ppapi/proxy/ppapi_messages.h"
+#include "ppapi/proxy/ppb_audio_input_proxy.h"
#include "ppapi/proxy/ppb_audio_proxy.h"
#include "ppapi/proxy/ppb_buffer_proxy.h"
#include "ppapi/proxy/ppb_broker_proxy.h"
@@ -83,6 +84,22 @@
return 0;
}
+PP_Resource ResourceCreationProxy::CreateAudioInput(
+ PP_Instance instance,
+ PP_Resource config_id,
+ PPB_Audio_Callback audio_input_callback,
+ void* user_data) {
+ return PPB_AudioInput_Proxy::CreateProxyResource(instance, config_id,
+ audio_input_callback,
+ user_data);
+}
+
+PP_Resource ResourceCreationProxy::CreateAudioInputTrusted(
+ PP_Instance instance) {
+ // Proxied plugins can't created trusted audio input devices.
+ return 0;
+}
+
PP_Resource ResourceCreationProxy::CreateBroker(PP_Instance instance) {
return PPB_Broker_Proxy::CreateProxyResource(instance);
}
Property changes on: ppapi/proxy/resource_creation_proxy.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.h ('k') | ppapi/shared_impl/api_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698