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

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

Issue 2802553002: Revert of [Mojo Video Capture] Introduce abstraction VideoCaptureSystem (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/in_process_buildable_video_capture_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/buildable_video_capture_device.h
diff --git a/content/browser/renderer_host/media/buildable_video_capture_device.h b/content/browser/renderer_host/media/buildable_video_capture_device.h
index e358435d24d771178c82297cef114192374ab885..3f41490a5974f891b8e9b128edbe58b56d889253 100644
--- a/content/browser/renderer_host/media/buildable_video_capture_device.h
+++ b/content/browser/renderer_host/media/buildable_video_capture_device.h
@@ -30,7 +30,11 @@
class CONTENT_EXPORT Callbacks {
public:
virtual ~Callbacks() {}
- virtual void OnDeviceStarted(VideoCaptureController* controller) = 0;
+ // Returns nullptr if no descriptor was found.
+ virtual const media::VideoCaptureDeviceDescriptor* LookupDeviceDescriptor(
+ const std::string& id) = 0;
+ virtual void WillStartDevice(media::VideoFacingMode facing_mode) = 0;
+ virtual void DidStartDevice(VideoCaptureController* controller) = 0;
virtual void OnDeviceStartFailed(VideoCaptureController* controller) = 0;
virtual void OnDeviceStartAborted() = 0;
};
« no previous file with comments | « no previous file | content/browser/renderer_host/media/in_process_buildable_video_capture_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698