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

Unified Diff: services/video_capture/video_capture_device_access_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: Merge-in changes from upstream 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_access_impl.h
diff --git a/services/video_capture/video_capture_device_impl.h b/services/video_capture/video_capture_device_access_impl.h
similarity index 58%
rename from services/video_capture/video_capture_device_impl.h
rename to services/video_capture/video_capture_device_access_impl.h
index 89b187961f2d9f8642f7eda3dc35f43edcd97433..522bc2c8021d1c78362b236f46eb224e3ea281ca 100644
--- a/services/video_capture/video_capture_device_impl.h
+++ b/services/video_capture/video_capture_device_access_impl.h
@@ -2,15 +2,16 @@
// 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_ACCESS_IMPL_H_
+#define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_ACCESS_IMPL_H_
-#include "services/video_capture/public/interfaces/video_capture_device.mojom.h"
+#include "services/video_capture/public/interfaces/video_capture_device_access.mojom.h"
namespace video_capture {
-// Implementation of the VideoCaptureDevice Mojo interface.
-class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice {
+// Implementation of mojom::VideoCaptureDeviceAccess backed by a given instance
+// of media::VideoCaptureDevice.
+class VideoCaptureDeviceAccessImpl : public mojom::VideoCaptureDeviceAccess {
public:
// mojom::VideoCaptureDevice:
void Start(mojom::VideoCaptureFormatPtr requested_format,
@@ -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_ACCESS_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698