Index: content/browser/renderer_host/media/video_capture_manager.h |
diff --git a/content/browser/renderer_host/media/video_capture_manager.h b/content/browser/renderer_host/media/video_capture_manager.h |
index e6857c662a5b6ca10fc009b810f940c8f5d48c17..a7926428ff2b033ae217cd8c77162ff981b8eb87 100644 |
--- a/content/browser/renderer_host/media/video_capture_manager.h |
+++ b/content/browser/renderer_host/media/video_capture_manager.h |
@@ -172,6 +172,13 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider { |
base::Callback<void(const media::VideoCaptureDeviceDescriptors&)>; |
void EnumerateDevices(const EnumerationCallback& client_callback); |
+ // Retrieves camera calibration information for a particular device. Returns |
+ // false if the |device_id| is not found or camera calibration information is |
+ // not available for the device. Camera calibration is cached during |
+ // device(s) enumeration. |
+ bool GetCameraCalibration(const std::string& device_id, |
+ MediaStreamDevice::CameraCalibration* calibration); |
+ |
private: |
class CaptureDeviceStartRequest; |
class DeviceEntry; |