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

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

Issue 2518143004: [Mojo Video Capture] Replace RESOURCE_UTILIZATION with interface ReceiverLoadObserver (Closed)
Patch Set: Fixes for failing bots Created 4 years, 1 month 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/screen_capture_device_android.cc
diff --git a/content/browser/media/capture/screen_capture_device_android.cc b/content/browser/media/capture/screen_capture_device_android.cc
index d03e31c15f3e7f863eca1625a8a4b3119db84ed7..e1b36274799878368efec8302ab76b9a8c7adf20 100644
--- a/content/browser/media/capture/screen_capture_device_android.cc
+++ b/content/browser/media/capture/screen_capture_device_android.cc
@@ -31,4 +31,10 @@ void ScreenCaptureDeviceAndroid::StopAndDeAllocate() {
void ScreenCaptureDeviceAndroid::RequestRefreshFrame() {
core_.RequestRefreshFrame();
}
+
+void ScreenCaptureDeviceAndroid::OnConsumerReportingUtilization(int frame_id,
+ double utilization) {
+ core_.OnConsumerReportingUtilization(frame_id, utilization);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698