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

Unified Diff: content/browser/renderer_host/media/service_launched_video_capture_device.cc

Issue 2848973002: [Mojo Video Capture] Implement a VideoCaptureProvider using the Mojo service (part 1) (Closed)
Patch Set: Incorporated mcasas@'s suggestions from PatchSet 3 Created 3 years, 8 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: content/browser/renderer_host/media/service_launched_video_capture_device.cc
diff --git a/content/browser/renderer_host/media/service_launched_video_capture_device.cc b/content/browser/renderer_host/media/service_launched_video_capture_device.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a50fa9cc2a2e8d9ca33b70dc58d495beef465af8
--- /dev/null
+++ b/content/browser/renderer_host/media/service_launched_video_capture_device.cc
@@ -0,0 +1,55 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/renderer_host/media/service_launched_video_capture_device.h"
+
+namespace content {
+
+ServiceLaunchedVideoCaptureDevice::ServiceLaunchedVideoCaptureDevice(
+ video_capture::mojom::DevicePtr device)
+ : device_(std::move(device)) {}
+
+ServiceLaunchedVideoCaptureDevice::~ServiceLaunchedVideoCaptureDevice() {}
+
+void ServiceLaunchedVideoCaptureDevice::GetPhotoCapabilities(
+ media::VideoCaptureDevice::GetPhotoCapabilitiesCallback callback) const {
+ NOTIMPLEMENTED();
+}
+
+void ServiceLaunchedVideoCaptureDevice::SetPhotoOptions(
+ media::mojom::PhotoSettingsPtr settings,
+ media::VideoCaptureDevice::SetPhotoOptionsCallback callback) {
+ NOTIMPLEMENTED();
+}
+
+void ServiceLaunchedVideoCaptureDevice::TakePhoto(
+ media::VideoCaptureDevice::TakePhotoCallback callback) {
+ NOTIMPLEMENTED();
+}
+
+void ServiceLaunchedVideoCaptureDevice::MaybeSuspendDevice() {
+ NOTIMPLEMENTED();
+}
+
+void ServiceLaunchedVideoCaptureDevice::ResumeDevice() {
+ NOTIMPLEMENTED();
+}
+
+void ServiceLaunchedVideoCaptureDevice::RequestRefreshFrame() {
+ NOTIMPLEMENTED();
+}
+
+void ServiceLaunchedVideoCaptureDevice::SetDesktopCaptureWindowIdAsync(
+ gfx::NativeViewId window_id,
+ base::OnceClosure done_cb) {
+ NOTIMPLEMENTED();
+}
+
+void ServiceLaunchedVideoCaptureDevice::OnUtilizationReport(
+ int frame_feedback_id,
+ double utilization) {
+ NOTIMPLEMENTED();
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698