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

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

Issue 2848973002: [Mojo Video Capture] Implement a VideoCaptureProvider using the Mojo service (part 1) (Closed)
Patch Set: 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/mojo_service_launched_video_capture_device.cc
diff --git a/content/browser/renderer_host/media/mojo_service_launched_video_capture_device.cc b/content/browser/renderer_host/media/mojo_service_launched_video_capture_device.cc
new file mode 100644
index 0000000000000000000000000000000000000000..87bc642ed53a91e56362727c4c55573fe0316a82
--- /dev/null
+++ b/content/browser/renderer_host/media/mojo_service_launched_video_capture_device.cc
@@ -0,0 +1,56 @@
+// 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/mojo_service_launched_video_capture_device.h"
+
+namespace content {
+
+MojoServiceLaunchedVideoCaptureDevice::MojoServiceLaunchedVideoCaptureDevice(
+ video_capture::mojom::DevicePtr device)
+ : device_(std::move(device)) {}
+
+MojoServiceLaunchedVideoCaptureDevice::
+ ~MojoServiceLaunchedVideoCaptureDevice() {}
+
+void MojoServiceLaunchedVideoCaptureDevice::GetPhotoCapabilities(
+ media::VideoCaptureDevice::GetPhotoCapabilitiesCallback callback) const {
+ NOTIMPLEMENTED();
+}
+
+void MojoServiceLaunchedVideoCaptureDevice::SetPhotoOptions(
+ media::mojom::PhotoSettingsPtr settings,
+ media::VideoCaptureDevice::SetPhotoOptionsCallback callback) {
+ NOTIMPLEMENTED();
+}
+
+void MojoServiceLaunchedVideoCaptureDevice::TakePhoto(
+ media::VideoCaptureDevice::TakePhotoCallback callback) {
+ NOTIMPLEMENTED();
+}
+
+void MojoServiceLaunchedVideoCaptureDevice::MaybeSuspendDevice() {
+ NOTIMPLEMENTED();
+}
+
+void MojoServiceLaunchedVideoCaptureDevice::ResumeDevice() {
+ NOTIMPLEMENTED();
+}
+
+void MojoServiceLaunchedVideoCaptureDevice::RequestRefreshFrame() {
+ NOTIMPLEMENTED();
+}
+
+void MojoServiceLaunchedVideoCaptureDevice::SetDesktopCaptureWindowIdAsync(
+ gfx::NativeViewId window_id,
+ base::OnceClosure done_cb) {
+ NOTIMPLEMENTED();
+}
+
+void MojoServiceLaunchedVideoCaptureDevice::OnUtilizationReport(
+ int frame_feedback_id,
+ double utilization) {
+ NOTIMPLEMENTED();
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698