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

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

Issue 11274036: Refactor video capture to new design (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: bind callback Created 8 years, 1 month 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/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index 717b83050ea380ff07664bcb1e3328a69c40cfd4..afd05a99e75357d6bf2c16a0da7197bae9652a93 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -31,7 +31,6 @@
#include "webkit/plugins/ppapi/ppb_tcp_socket_private_impl.h"
#include "webkit/plugins/ppapi/ppb_udp_socket_private_impl.h"
#include "webkit/plugins/ppapi/ppb_url_loader_impl.h"
-#include "webkit/plugins/ppapi/ppb_video_capture_impl.h"
#include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
#include "webkit/plugins/ppapi/ppb_x509_certificate_private_impl.h"
#include "webkit/plugins/ppapi/resource_helper.h"
@@ -283,11 +282,7 @@ PP_Resource ResourceCreationImpl::CreateURLLoader(PP_Instance instance) {
}
PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) {
- scoped_refptr<PPB_VideoCapture_Impl> video_capture =
- new PPB_VideoCapture_Impl(instance);
- if (!video_capture->Init())
- return 0;
- return video_capture->GetReference();
+ return 0; // VideoCapture is not supported in process now.
}
PP_Resource ResourceCreationImpl::CreateVideoDecoder(
« ppapi/thunk/ppb_video_capture_api.h ('K') | « webkit/plugins/ppapi/ppb_video_capture_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698