virtual void OnDeviceSupportedFormatsEnumerated(
const media::VideoCaptureFormats& supported_formats) = 0;
+ // Called upon reception of format(s) in use by a device back from browser.
+ virtual void OnDeviceFormatsInUseReceived(
+ const media::VideoCaptureFormats& formats_in_use) = 0;
+
// Called when the delegate has been added to filter's delegate list.
// |device_id| is the device id for the delegate.
virtual void OnDelegateAdded(int32 device_id) = 0;
int device_id,
const media::VideoCaptureFormats& supported_formats);
+ // Receive the formats in-use by a device back from browser process.
+ void OnDeviceFormatsInUseReceived(
+ int device_id,
+ const media::VideoCaptureFormats& formats_in_use);
+
// Finds the delegate associated with |device_id|, NULL if not found.
Delegate* find_delegate(int device_id) const;