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

Unified Diff: content/browser/renderer_host/media/content_video_capture_device_core.h

Issue 83793004: Implement IPCs and VideoCapture::Client interfaces for texture capture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 16cf3941 Rebase, comment. Created 6 years, 10 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: content/browser/renderer_host/media/content_video_capture_device_core.h
diff --git a/content/browser/renderer_host/media/content_video_capture_device_core.h b/content/browser/renderer_host/media/content_video_capture_device_core.h
index 1a2b8dfe8d8bb06afffca9347a2ef7a92b393589..9fefc7f91610280641ba3fe21cd4b8cb5bfe664e 100644
--- a/content/browser/renderer_host/media/content_video_capture_device_core.h
+++ b/content/browser/renderer_host/media/content_video_capture_device_core.h
@@ -15,6 +15,12 @@
#include "content/common/content_export.h"
#include "media/video/capture/video_capture_device.h"
+namespace media {
+
wjia(left Chromium) 2014/02/19 22:05:19 nit: remove the blank line here and line 21.
sheu 2014/02/19 23:18:35 Done.
+class VideoFrame;
+
+} // namespace media
+
namespace content {
const int kMinFrameWidth = 2;
@@ -82,7 +88,8 @@ class ThreadSafeCaptureOracle
// Callback invoked on completion of all captures.
void DidCaptureFrame(
- scoped_refptr<media::VideoCaptureDevice::Client::Buffer> buffer,
+ const scoped_refptr<media::VideoCaptureDevice::Client::Buffer>& buffer,
+ const scoped_refptr<media::VideoFrame>& frame,
int frame_number,
base::TimeTicks timestamp,
bool success);

Powered by Google App Engine
This is Rietveld 408576698