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

Unified Diff: webkit/plugins/ppapi/ppb_audio_input_impl.h

Issue 9705056: PepperPlatformAudioInputImpl: support audio input device selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync&resolve again Created 8 years, 9 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 | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_audio_input_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_audio_input_impl.h
diff --git a/webkit/plugins/ppapi/ppb_audio_input_impl.h b/webkit/plugins/ppapi/ppb_audio_input_impl.h
index a56c7fbdd2876e3f12150e3aab0b5fa45a6c9a8c..bc4329e67261ca019c09325e5fc343e4e3e1c538 100644
--- a/webkit/plugins/ppapi/ppb_audio_input_impl.h
+++ b/webkit/plugins/ppapi/ppb_audio_input_impl.h
@@ -20,7 +20,7 @@ namespace ppapi {
// Some of the backend functionality of this class is implemented by the
// PPB_AudioInput_Shared so it can be shared with the proxy.
class PPB_AudioInput_Impl : public ::ppapi::PPB_AudioInput_Shared,
- public PluginDelegate::PlatformAudioCommonClient,
+ public PluginDelegate::PlatformAudioInputClient,
public base::SupportsWeakPtr<PPB_AudioInput_Impl> {
public:
typedef std::vector< ::ppapi::DeviceRefData> DeviceRefDataVector;
@@ -43,10 +43,11 @@ class PPB_AudioInput_Impl : public ::ppapi::PPB_AudioInput_Shared,
virtual int32_t GetSharedMemory(int* shm_handle, uint32_t* shm_size) OVERRIDE;
virtual const DeviceRefDataVector& GetDeviceRefData() const OVERRIDE;
- // PluginDelegate::PlatformAudioCommonClient implementation.
+ // PluginDelegate::PlatformAudioInputClient implementation.
virtual void StreamCreated(base::SharedMemoryHandle shared_memory_handle,
size_t shared_memory_size,
base::SyncSocket::Handle socket) OVERRIDE;
+ virtual void StreamCreationFailed() OVERRIDE;
private:
// PPB_AudioInput_Shared implementation.
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_audio_input_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698