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

Unified Diff: services/video_capture/video_capture_device_proxy_impl.h

Issue 2244773002: Video Capture Mojo (1.4c): Handle Subsequent Access (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FillServicePart2
Patch Set: mcasas' comments Created 4 years, 3 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: services/video_capture/video_capture_device_proxy_impl.h
diff --git a/services/video_capture/video_capture_device_proxy_impl.h b/services/video_capture/video_capture_device_proxy_impl.h
index 8635af6359672bf91a249358cbc0fcb243d2b597..c8b5301915d4ebd1b00b78c3ac748ada0a12c397 100644
--- a/services/video_capture/video_capture_device_proxy_impl.h
+++ b/services/video_capture/video_capture_device_proxy_impl.h
@@ -24,6 +24,8 @@ class VideoCaptureDeviceProxyImpl : public mojom::VideoCaptureDeviceProxy {
mojom::PowerLineFrequency power_line_frequency,
mojom::VideoCaptureDeviceClientPtr client) override;
+ void Stop();
+
// TODO(chfremer): Consider using Mojo type mapping instead of conversion
// methods.
// https://crbug.com/642387
@@ -40,6 +42,7 @@ class VideoCaptureDeviceProxyImpl : public mojom::VideoCaptureDeviceProxy {
private:
std::unique_ptr<media::VideoCaptureDevice> device_;
+ bool device_running_;
Ken Rockot(use gerrit already) 2016/09/06 16:50:26 nitty nit: My personal preference is to use in-cla
chfremer 2016/09/06 17:29:58 Done.
};
} // namespace video_capture

Powered by Google App Engine
This is Rietveld 408576698