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

Unified Diff: media/capture/video/fake_video_capture_device.cc

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: address comments on PS#3 Created 3 years, 10 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: media/capture/video/fake_video_capture_device.cc
diff --git a/media/capture/video/fake_video_capture_device.cc b/media/capture/video/fake_video_capture_device.cc
index 4aa961cc42c4f94e6d4090d3a0a5d1ea1bac5931..f8e20149d46578fe935960ede22aba1ad1ad520b 100644
--- a/media/capture/video/fake_video_capture_device.cc
+++ b/media/capture/video/fake_video_capture_device.cc
@@ -234,6 +234,8 @@ void FakeVideoCaptureDevice::AllocateAndStart(
base::TimeTicks::Now(),
base::Bind(&FakeVideoCaptureDevice::CaptureUsingOwnBuffers,
weak_factory_.GetWeakPtr()));
+
+ client_->OnStarted();
}
void FakeVideoCaptureDevice::StopAndDeAllocate() {

Powered by Google App Engine
This is Rietveld 408576698