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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/media/capture/desktop_capture_device_aura.h" 5 #include "content/browser/media/capture/desktop_capture_device_aura.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 void DesktopCaptureDeviceAura::RequestRefreshFrame() { 69 void DesktopCaptureDeviceAura::RequestRefreshFrame() {
70 core_->RequestRefreshFrame(); 70 core_->RequestRefreshFrame();
71 } 71 }
72 72
73 void DesktopCaptureDeviceAura::StopAndDeAllocate() { 73 void DesktopCaptureDeviceAura::StopAndDeAllocate() {
74 core_->StopAndDeAllocate(); 74 core_->StopAndDeAllocate();
75 } 75 }
76 76
77 void DesktopCaptureDeviceAura::OnUtilizationReport(int frame_feedback_id,
78 double utilization) {
79 core_->OnConsumerReportingUtilization(frame_feedback_id, utilization);
80 }
81
77 } // namespace content 82 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698