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

Unified Diff: media/capture/content/screen_capture_device_core.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: media/capture/content/screen_capture_device_core.cc
diff --git a/media/capture/content/screen_capture_device_core.cc b/media/capture/content/screen_capture_device_core.cc
index f65ea591741117b68c4a1cc5b9487d896e5b083e..d42c8d69a2471c618aa89a1bfc9b43da3ad1920f 100644
--- a/media/capture/content/screen_capture_device_core.cc
+++ b/media/capture/content/screen_capture_device_core.cc
@@ -113,6 +113,12 @@ void ScreenCaptureDeviceCore::StopAndDeAllocate() {
capture_machine_->Stop(base::Bind(&base::DoNothing));
}
+void ScreenCaptureDeviceCore::OnConsumerReportingUtilization(
+ int frame_id,
+ double utilization) {
+ oracle_proxy_->OnConsumerReportingUtilization(frame_id, utilization);
miu 2016/12/01 05:25:18 Could |oracle_proxy_| be null here? Not sure wheth
chfremer 2016/12/02 01:28:28 Thanks for raising this. This makes me realize tha
+}
+
void ScreenCaptureDeviceCore::CaptureStarted(bool success) {
DCHECK(thread_checker_.CalledOnValidThread());
if (!success)

Powered by Google App Engine
This is Rietveld 408576698