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

Unified Diff: services/video_capture/video_capture_device_impl.h

Issue 2244763002: Video Capture Mojo (1.4a.a): Add service configurator interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MakeService
Patch Set: Split out rename to separate CL Created 4 years, 4 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_impl.h
diff --git a/services/video_capture/video_capture_device_impl.h b/services/video_capture/video_capture_device_impl.h
index 89b187961f2d9f8642f7eda3dc35f43edcd97433..fd8b93c61d01e07691966941f8014f66cc733c09 100644
--- a/services/video_capture/video_capture_device_impl.h
+++ b/services/video_capture/video_capture_device_impl.h
@@ -2,17 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
-#define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
+#ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_PROXY_IMPL_H_
yzshen1 2016/08/16 17:55:08 It seems weird: this file is flagged as "deleted",
chfremer 2016/08/16 18:34:40 Sorry about this. This is because I first renamed
+#define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_PROXY_IMPL_H_
#include "services/video_capture/public/interfaces/video_capture_device.mojom.h"
namespace video_capture {
-// Implementation of the VideoCaptureDevice Mojo interface.
+// Implementation of mojom::VideoCaptureDeviceProxy backed by a given instance
+// of media::VideoCaptureDevice.
class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice {
public:
- // mojom::VideoCaptureDevice:
+ // mojom::VideoCaptureDeviceProxy:
void Start(mojom::VideoCaptureFormatPtr requested_format,
mojom::ResolutionChangePolicy resolution_change_policy,
mojom::PowerLineFrequency power_line_frequency,
@@ -21,4 +22,4 @@ class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice {
} // namespace video_capture
-#endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
+#endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_PROXY_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698