| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/screen_capture_device_android.h" | 5 #include "content/browser/media/capture/screen_capture_device_android.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "media/capture/content/android/screen_capture_machine_android.h" | 9 #include "media/capture/content/android/screen_capture_machine_android.h" |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 core_.AllocateAndStart(params, std::move(client)); | 24 core_.AllocateAndStart(params, std::move(client)); |
| 25 } | 25 } |
| 26 | 26 |
| 27 void ScreenCaptureDeviceAndroid::StopAndDeAllocate() { | 27 void ScreenCaptureDeviceAndroid::StopAndDeAllocate() { |
| 28 core_.StopAndDeAllocate(); | 28 core_.StopAndDeAllocate(); |
| 29 } | 29 } |
| 30 | 30 |
| 31 void ScreenCaptureDeviceAndroid::RequestRefreshFrame() { | 31 void ScreenCaptureDeviceAndroid::RequestRefreshFrame() { |
| 32 core_.RequestRefreshFrame(); | 32 core_.RequestRefreshFrame(); |
| 33 } | 33 } |
| 34 |
| 35 void ScreenCaptureDeviceAndroid::OnConsumerReportingUtilization(int frame_id, |
| 36 double utilization) { |
| 37 core_.OnConsumerReportingUtilization(frame_id, utilization); |
| 38 } |
| 39 |
| 34 } // namespace content | 40 } // namespace content |
| OLD | NEW |