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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device.cc

Issue 2518143004: [Mojo Video Capture] Replace RESOURCE_UTILIZATION with interface ReceiverLoadObserver (Closed)
Patch Set: Fix for android-only code Created 4 years 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/media/capture/web_contents_video_capture_device.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device.cc b/content/browser/media/capture/web_contents_video_capture_device.cc
index 5212e7c1c8ee3d4f35aacb414ff4cf331089552a..d258238ef7e97762740a5c88a48ce5dbab96c9b2 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device.cc
@@ -957,4 +957,9 @@ void WebContentsVideoCaptureDevice::StopAndDeAllocate() {
core_->StopAndDeAllocate();
}
+void WebContentsVideoCaptureDevice::OnUtilizationReport(int frame_feedback_id,
+ double utilization) {
+ core_->OnConsumerReportingUtilization(frame_feedback_id, utilization);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698