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

Unified Diff: webkit/plugins/ppapi/resource_creation_impl.cc

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated TestURLLoader to test blocking callbacks. Created 8 years, 8 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
Index: webkit/plugins/ppapi/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index d946d9f7cd78a8265f65a71a258fc79f3c388a38..12a7077e4a116fa277b2d78da6d7355b18d9cb7b 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -60,6 +60,15 @@ ResourceCreationImpl::AsResourceCreationAPI() {
return this;
}
+PP_Resource ResourceCreationImpl::CreateAudioInput0_1(
+ PP_Instance instance,
+ PP_Resource config_id,
+ PPB_AudioInput_Callback audio_input_callback,
+ void* user_data) {
+ return PPB_AudioInput_Impl::Create0_1(instance, config_id,
+ audio_input_callback, user_data);
+}
+
PP_Resource ResourceCreationImpl::CreateAudio(
PP_Instance instance,
PP_Resource config_id,
@@ -82,15 +91,6 @@ PP_Resource ResourceCreationImpl::CreateAudioTrusted(
return (new PPB_Audio_Impl(instance))->GetReference();
}
-PP_Resource ResourceCreationImpl::CreateAudioInput0_1(
- PP_Instance instance,
- PP_Resource config_id,
- PPB_AudioInput_Callback audio_input_callback,
- void* user_data) {
- return PPB_AudioInput_Impl::Create0_1(instance, config_id,
- audio_input_callback, user_data);
-}
-
PP_Resource ResourceCreationImpl::CreateAudioInput(PP_Instance instance) {
return (new PPB_AudioInput_Impl(instance))->GetReference();
}
« ppapi/thunk/ppb_file_io_trusted_thunk.cc ('K') | « webkit/plugins/ppapi/ppb_websocket_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698