Index: webkit/plugins/ppapi/mock_plugin_delegate.h |
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h |
index fbd961a23bf779cb8eaca65dad21336ea76ce521..d9cb34ee11131c8692805b1cc43afe400b46bd4d 100644 |
--- a/webkit/plugins/ppapi/mock_plugin_delegate.h |
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.h |
@@ -31,7 +31,8 @@ class MockPluginDelegate : public PluginDelegate { |
media::VideoDecodeAccelerator::Client* client, |
int32 command_buffer_route_id); |
virtual PlatformVideoCapture* CreateVideoCapture( |
- media::VideoCapture::EventHandler* handler); |
+ const std::string& device_id, |
+ PlatformVideoCaptureEventHandler* handler); |
virtual PlatformAudio* CreateAudio(uint32_t sample_rate, |
uint32_t sample_count, |
PlatformAudioCommonClient* client); |
@@ -156,6 +157,8 @@ class MockPluginDelegate : public PluginDelegate { |
virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
virtual bool IsInFullscreenMode(); |
virtual bool IsPageVisible() const; |
+ virtual int EnumerateDevices(PP_DeviceType_Dev type, |
+ const EnumerateDevicesCallback& callback); |
}; |
} // namespace ppapi |