Index: media/video/capture/video_capture_device.h |
diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h |
index 747f1b00d3a6a98e74ab4d3091e84d9cf13e792c..394edae9959fdc7204e22eb761014d9a273128c0 100644 |
--- a/media/video/capture/video_capture_device.h |
+++ b/media/video/capture/video_capture_device.h |
@@ -178,6 +178,7 @@ class MEDIA_EXPORT VideoCaptureDevice { |
virtual int id() const = 0; |
virtual void* data() const = 0; |
virtual size_t size() const = 0; |
+ virtual base::SharedMemoryHandle handle() const = 0; |
protected: |
friend class base::RefCountedThreadSafe<Buffer>; |
@@ -186,6 +187,9 @@ class MEDIA_EXPORT VideoCaptureDevice { |
virtual ~Client() {} |
+ // TODO(kcwu): do we need this? |
+ virtual bool InitializeJpegDecoder() = 0; |
+ |
// Captured a new video frame, data for which is pointed to by |data|. |
// |
// The format of the frame is described by |frame_format|, and is assumed to |