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

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

Issue 2805533002: Reland [Mojo Video Capture] Introduce abstraction VideoCaptureSystem (Closed)
Patch Set: Fix race condition in tests 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
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 3f41490a5974f891b8e9b128edbe58b56d889253..e358435d24d771178c82297cef114192374ab885 100644
--- a/content/browser/renderer_host/media/buildable_video_capture_device.h
+++ b/content/browser/renderer_host/media/buildable_video_capture_device.h
@@ -30,11 +30,7 @@ class CONTENT_EXPORT BuildableVideoCaptureDevice {
class CONTENT_EXPORT Callbacks {
public:
virtual ~Callbacks() {}
- // 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 OnDeviceStarted(VideoCaptureController* controller) = 0;
virtual void OnDeviceStartFailed(VideoCaptureController* controller) = 0;
virtual void OnDeviceStartAborted() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698