OLD | NEW |
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 Loading... |
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 |
OLD | NEW |