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

Unified Diff: services/video_capture/public/cpp/device_to_feedback_observer_adapter.cc

Issue 2844813002: Revert of [Mojo Video Capture] Adapt video_capture service to refactored video capture stack (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: services/video_capture/public/cpp/device_to_feedback_observer_adapter.cc
diff --git a/services/video_capture/public/cpp/device_to_feedback_observer_adapter.cc b/services/video_capture/public/cpp/device_to_feedback_observer_adapter.cc
deleted file mode 100644
index ad842a7b9576e5e814fe9e53772cadad259c216b..0000000000000000000000000000000000000000
--- a/services/video_capture/public/cpp/device_to_feedback_observer_adapter.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2016 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 "services/video_capture/public/cpp/device_to_feedback_observer_adapter.h"
-
-namespace video_capture {
-
-DeviceToFeedbackObserverAdapter::DeviceToFeedbackObserverAdapter(
- mojom::DevicePtr device)
- : device_(std::move(device)) {}
-
-DeviceToFeedbackObserverAdapter::~DeviceToFeedbackObserverAdapter() = default;
-
-void DeviceToFeedbackObserverAdapter::OnUtilizationReport(int frame_feedback_id,
- double utilization) {
- device_->OnReceiverReportingUtilization(frame_feedback_id, utilization);
-}
-
-} // namespace video_capture

Powered by Google App Engine
This is Rietveld 408576698