Chromium Code Reviews| 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 41a1d771d11602ccf74841d46b3cbb020390798e..a2e933067296360ed46f7c346c95db40beb025c8 100644 |
| --- a/media/video/capture/video_capture_device.h |
| +++ b/media/video/capture/video_capture_device.h |
| @@ -15,6 +15,7 @@ |
| #include <list> |
| #include <string> |
| +#include "base/files/file.h" |
| #include "base/logging.h" |
| #include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
| @@ -203,6 +204,7 @@ class MEDIA_EXPORT VideoCaptureDevice { |
| virtual size_t size() const = 0; |
| virtual void* data() = 0; |
| virtual gfx::GpuMemoryBufferType GetType() = 0; |
| + virtual base::PlatformFile AsPlatformFile() const = 0; |
|
Pawel Osciak
2015/06/15 10:34:55
Are there platforms where it would not be a dmabuf
mcasas
2015/06/17 01:30:53
Actually this is landed and needs rebase. But to a
|
| virtual ClientBuffer AsClientBuffer() = 0; |
| }; |