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

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

Issue 2857303002: [Mojo Video Capture] Implement a VideoCaptureProvider using the Mojo service (part 2) (Closed)
Patch Set: Rebase to May 5th Created 3 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/service_launched_video_capture_device.h
diff --git a/content/browser/renderer_host/media/service_launched_video_capture_device.h b/content/browser/renderer_host/media/service_launched_video_capture_device.h
index 6add459fd9c433b02c671ebbb562a66fe65f8960..8be3fb56ba70c890bc758004fd188e6dd63fd8f2 100644
--- a/content/browser/renderer_host/media/service_launched_video_capture_device.h
+++ b/content/browser/renderer_host/media/service_launched_video_capture_device.h
@@ -37,7 +37,10 @@ class ServiceLaunchedVideoCaptureDevice : public LaunchedVideoCaptureDevice {
void OnUtilizationReport(int frame_feedback_id, double utilization) override;
private:
- const video_capture::mojom::DevicePtr device_;
+ void OnLostConnectionToDevice();
+
+ video_capture::mojom::DevicePtr device_;
+ base::ThreadChecker thread_checker_;
miu 2017/05/08 20:21:11 Is this necessary? Seems like this class is single
chfremer 2017/05/08 20:51:46 I was not aware of that discussion and wasn't able
chfremer 2017/05/09 18:41:33 Removed ThreadChecker here and in ServiceVideoCapt
miu 2017/05/09 19:34:19 Here: https://groups.google.com/a/chromium.org/for
chfremer 2017/05/09 20:49:01 After reading the e-mail thread, my conclusion is
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698