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

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

Issue 9234064: Implement device enumeration for PPB_VideoCapture_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes in response to Antoine's comments. Created 8 years, 11 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/mock_plugin_delegate.cc
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc
index da371c546cd1257ae420b5fc8084c7e0cc34ef46..c8d3b80cccfa32f81082aaef0ecad60820dadb0b 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc
@@ -66,7 +66,8 @@ MockPluginDelegate::CreateVideoDecoder(
MockPluginDelegate::PlatformVideoCapture*
MockPluginDelegate::CreateVideoCapture(
- media::VideoCapture::EventHandler* handler){
+ const std::string& device_id,
+ PlatformVideoCaptureEventHandler* handler){
return NULL;
}
@@ -374,5 +375,11 @@ bool MockPluginDelegate::IsPageVisible() const {
return true;
}
+int MockPluginDelegate::EnumerateDevices(
+ PP_DeviceType_Dev type,
+ const EnumerateDevicesCallback& callback) {
+ return -1;
+}
+
} // namespace ppapi
} // namespace webkit

Powered by Google App Engine
This is Rietveld 408576698