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

Unified Diff: content/browser/media/capture/desktop_capture_device_aura.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/desktop_capture_device_aura.cc
diff --git a/content/browser/media/capture/desktop_capture_device_aura.cc b/content/browser/media/capture/desktop_capture_device_aura.cc
index 7dafda94a0d37aef410a3158c6ee1787dc91a6fb..acd236d31980e1f5b319fef83164d6dc957720ca 100644
--- a/content/browser/media/capture/desktop_capture_device_aura.cc
+++ b/content/browser/media/capture/desktop_capture_device_aura.cc
@@ -74,4 +74,9 @@ void DesktopCaptureDeviceAura::StopAndDeAllocate() {
core_->StopAndDeAllocate();
}
+void DesktopCaptureDeviceAura::OnUtilizationReport(int frame_feedback_id,
+ double utilization) {
+ core_->OnConsumerReportingUtilization(frame_feedback_id, utilization);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698