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

Unified Diff: media/capture/content/screen_capture_device_core.cc

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: 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/content/screen_capture_device_core.cc
diff --git a/media/capture/content/screen_capture_device_core.cc b/media/capture/content/screen_capture_device_core.cc
index 88513f08003eec8bdaa4370178466f33a4728e9a..b6240af2092d2f06c7f75f0cc29e763769c3f57f 100644
--- a/media/capture/content/screen_capture_device_core.cc
+++ b/media/capture/content/screen_capture_device_core.cc
@@ -125,6 +125,8 @@ void ScreenCaptureDeviceCore::CaptureStarted(bool success) {
DCHECK(thread_checker_.CalledOnValidThread());
if (!success)
Error(FROM_HERE, "Failed to start capture machine.");
+ else if (oracle_proxy_.get())
miu 2017/02/09 22:21:49 nit: Shouldn't need the ".get()". That's a legacy
braveyao 2017/02/14 01:05:49 Done.
+ oracle_proxy_->ReportStarted();
}
ScreenCaptureDeviceCore::ScreenCaptureDeviceCore(

Powered by Google App Engine
This is Rietveld 408576698