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

Unified Diff: services/video_capture/video_capture_device_factory_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_factory_impl.h
diff --git a/services/video_capture/video_capture_device_factory_impl.h b/services/video_capture/video_capture_device_factory_impl.h
index 976fb72210b6192efe2199aa70ae372b3ab42e2b..330ea09237ba6e0876fa8c7aca0fcdcad9bac8ef 100644
--- a/services/video_capture/video_capture_device_factory_impl.h
+++ b/services/video_capture/video_capture_device_factory_impl.h
@@ -54,9 +54,14 @@ class VideoCaptureDeviceFactoryImpl : public mojom::VideoCaptureDeviceFactory {
void Bind(mojom::VideoCaptureDeviceProxyRequest request);
void Unbind();
+ void OnConnectionErrorOrClose();
+
private:
mojom::VideoCaptureDeviceDescriptorPtr descriptor_;
std::unique_ptr<VideoCaptureDeviceProxyImpl> device_proxy_;
+ // TODO(chfremer) Use mojo::Binding<> directly instead of unique_ptr<> when
+ // mojo::Binding<> supports move operators.
+ // https://crbug.com/644314
std::unique_ptr<mojo::Binding<mojom::VideoCaptureDeviceProxy>> binding_;
DISALLOW_COPY_AND_ASSIGN(DeviceEntry);

Powered by Google App Engine
This is Rietveld 408576698