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

Unified Diff: content/renderer/pepper/content_renderer_pepper_host_factory.cc

Issue 2755613002: Support audio output device enumeration and selection in PPAPI (Closed)
Patch Set: Fix format, Rebase Created 3 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
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/pepper/pepper_audio_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/content_renderer_pepper_host_factory.cc
diff --git a/content/renderer/pepper/content_renderer_pepper_host_factory.cc b/content/renderer/pepper/content_renderer_pepper_host_factory.cc
index 16eff2bccc97bf585a295b4f14a4361ce28cf998..3423b01e29f6b7e436d7d586faff27991842ee21 100644
--- a/content/renderer/pepper/content_renderer_pepper_host_factory.cc
+++ b/content/renderer/pepper/content_renderer_pepper_host_factory.cc
@@ -15,6 +15,7 @@
#include "content/public/renderer/content_renderer_client.h"
#include "content/renderer/pepper/pepper_audio_encoder_host.h"
#include "content/renderer/pepper/pepper_audio_input_host.h"
+#include "content/renderer/pepper/pepper_audio_output_host.h"
#include "content/renderer/pepper/pepper_camera_device_host.h"
#include "content/renderer/pepper/pepper_compositor_host.h"
#include "content/renderer/pepper/pepper_file_chooser_host.h"
@@ -211,6 +212,9 @@ ContentRendererPepperHostFactory::CreateResourceHost(
case PpapiHostMsg_AudioInput_Create::ID:
return base::MakeUnique<PepperAudioInputHost>(host_, instance,
resource);
+ case PpapiHostMsg_AudioOutput_Create::ID:
+ return base::MakeUnique<PepperAudioOutputHost>(host_, instance,
+ resource);
case PpapiHostMsg_FileChooser_Create::ID:
return base::MakeUnique<PepperFileChooserHost>(host_, instance,
resource);
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/pepper/pepper_audio_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698