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

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: rockot's 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..cbe0e3da42b5ec506874da56d4623906973e8aaa 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_ = false;
};
} // namespace video_capture
« no previous file with comments | « services/video_capture/video_capture_device_factory_impl.cc ('k') | services/video_capture/video_capture_device_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698