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

Unified Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 10694115: Get the audio proxy building as untrusted code for NaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/resource_creation_proxy.h ('k') | ppapi/thunk/resource_creation_api.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 145757)
+++ ppapi/proxy/resource_creation_proxy.cc (working copy)
@@ -168,6 +168,11 @@
audio_callback, user_data);
}
+PP_Resource ResourceCreationProxy::CreateAudioTrusted(PP_Instance instance) {
+ // Proxied plugins can't create trusted audio devices.
+ return 0;
+}
+
PP_Resource ResourceCreationProxy::CreateAudioConfig(
PP_Instance instance,
PP_AudioSampleRate sample_rate,
@@ -192,11 +197,6 @@
}
#if !defined(OS_NACL)
-PP_Resource ResourceCreationProxy::CreateAudioTrusted(PP_Instance instance) {
- // Proxied plugins can't create trusted audio devices.
- return 0;
-}
-
PP_Resource ResourceCreationProxy::CreateAudioInput0_1(
PP_Instance instance,
PP_Resource config_id,
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698