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

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

Issue 1952463002: Media Stream Image Capture (4): wire takePhoto and implement in FakeVCDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tommi@ and mlamouri@ comments Created 4 years, 7 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/video_capture_manager.h
diff --git a/content/browser/renderer_host/media/video_capture_manager.h b/content/browser/renderer_host/media/video_capture_manager.h
index bbac6c08a98bcd689f115bce2f57550fc89c75dc..4077d29af09c43df829233cc17922e17edb9124c 100644
--- a/content/browser/renderer_host/media/video_capture_manager.h
+++ b/content/browser/renderer_host/media/video_capture_manager.h
@@ -156,6 +156,11 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider {
scoped_refptr<base::SingleThreadTaskRunner>& device_task_runner() {
return device_task_runner_;
}
+
+ bool TakePhoto(int session_id,
+ const media::VideoCaptureDevice::TakePhotoCallback&
+ photo_callback) WARN_UNUSED_RESULT;
+
private:
class DeviceEntry;

Powered by Google App Engine
This is Rietveld 408576698