diff options
Diffstat (limited to 'webkit/plugins')
-rw-r--r-- | webkit/plugins/ppapi/mock_plugin_delegate.cc | 2 | ||||
-rw-r--r-- | webkit/plugins/ppapi/mock_plugin_delegate.h | 2 | ||||
-rw-r--r-- | webkit/plugins/ppapi/plugin_delegate.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc index 2fa4140..5f27a2e 100644 --- a/webkit/plugins/ppapi/mock_plugin_delegate.cc +++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc @@ -99,6 +99,7 @@ MockPluginDelegate::CreateVideoDecoder( MockPluginDelegate::PlatformVideoCapture* MockPluginDelegate::CreateVideoCapture( const std::string& device_id, + const GURL& document_url, PlatformVideoCaptureEventHandler* handler){ return NULL; } @@ -120,6 +121,7 @@ MockPluginDelegate::PlatformAudioOutput* MockPluginDelegate::CreateAudioOutput( MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput( const std::string& device_id, + const GURL& document_url, uint32_t sample_rate, uint32_t sample_count, PlatformAudioInputClient* client) { diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h index 4fa945ff..c1d74f0 100644 --- a/webkit/plugins/ppapi/mock_plugin_delegate.h +++ b/webkit/plugins/ppapi/mock_plugin_delegate.h @@ -46,6 +46,7 @@ class MockPluginDelegate : public PluginDelegate { int32 command_buffer_route_id); virtual PlatformVideoCapture* CreateVideoCapture( const std::string& device_id, + const GURL& document_url, PlatformVideoCaptureEventHandler* handler); virtual uint32_t GetAudioHardwareOutputSampleRate(); virtual uint32_t GetAudioHardwareOutputBufferSize(); @@ -55,6 +56,7 @@ class MockPluginDelegate : public PluginDelegate { PlatformAudioOutputClient* client); virtual PlatformAudioInput* CreateAudioInput( const std::string& device_id, + const GURL& document_url, uint32_t sample_rate, uint32_t sample_count, PlatformAudioInputClient* client); diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h index 06962e0..acd7310 100644 --- a/webkit/plugins/ppapi/plugin_delegate.h +++ b/webkit/plugins/ppapi/plugin_delegate.h @@ -417,6 +417,7 @@ class PluginDelegate { // object. virtual PlatformVideoCapture* CreateVideoCapture( const std::string& device_id, + const GURL& document_url, PlatformVideoCaptureEventHandler* handler) = 0; // The caller will own the pointer returned from this. @@ -442,6 +443,7 @@ class PluginDelegate { // to clean up the corresponding resources allocated during this call. virtual PlatformAudioInput* CreateAudioInput( const std::string& device_id, + const GURL& document_url, uint32_t sample_rate, uint32_t sample_count, PlatformAudioInputClient* client) = 0; |