| Index: content/renderer/media/video_capture_message_filter.cc
|
| diff --git a/content/renderer/media/video_capture_message_filter.cc b/content/renderer/media/video_capture_message_filter.cc
|
| index 20a40b5a73df2cc47417ab09fff2e3ce83b10aa7..c2fb78374fce06f65ce8fef592703e37bd6b592e 100644
|
| --- a/content/renderer/media/video_capture_message_filter.cc
|
| +++ b/content/renderer/media/video_capture_message_filter.cc
|
| @@ -61,10 +61,6 @@ bool VideoCaptureMessageFilter::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(VideoCaptureMsg_NewBuffer, OnBufferCreated)
|
| IPC_MESSAGE_HANDLER(VideoCaptureMsg_NewBuffer2, OnBufferCreated2)
|
| IPC_MESSAGE_HANDLER(VideoCaptureMsg_FreeBuffer, OnBufferDestroyed)
|
| - IPC_MESSAGE_HANDLER(VideoCaptureMsg_DeviceSupportedFormatsEnumerated,
|
| - OnDeviceSupportedFormatsEnumerated)
|
| - IPC_MESSAGE_HANDLER(VideoCaptureMsg_DeviceFormatsInUseReceived,
|
| - OnDeviceFormatsInUseReceived)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -184,26 +180,4 @@ void VideoCaptureMessageFilter::OnDeviceStateChanged(
|
| delegate->OnStateChanged(state);
|
| }
|
|
|
| -void VideoCaptureMessageFilter::OnDeviceSupportedFormatsEnumerated(
|
| - int device_id,
|
| - const media::VideoCaptureFormats& supported_formats) {
|
| - Delegate* const delegate = find_delegate(device_id);
|
| - if (!delegate) {
|
| - DLOG(WARNING) << "OnDeviceFormatsEnumerated: unknown device";
|
| - return;
|
| - }
|
| - delegate->OnDeviceSupportedFormatsEnumerated(supported_formats);
|
| -}
|
| -
|
| -void VideoCaptureMessageFilter::OnDeviceFormatsInUseReceived(
|
| - int device_id,
|
| - const media::VideoCaptureFormats& formats_in_use) {
|
| - Delegate* const delegate = find_delegate(device_id);
|
| - if (!delegate) {
|
| - DLOG(WARNING) << "OnDeviceFormatInUse: unknown device";
|
| - return;
|
| - }
|
| - delegate->OnDeviceFormatsInUseReceived(formats_in_use);
|
| -}
|
| -
|
| } // namespace content
|
|
|