| Index: content/renderer/media/media_stream_video_source.h
|
| diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
|
| index c2f6f179366a25d8b0b8c4875dd80b4ff8088778..80575ff551526291546688e3c68bda6e802a221d 100644
|
| --- a/content/renderer/media/media_stream_video_source.h
|
| +++ b/content/renderer/media/media_stream_video_source.h
|
| @@ -111,7 +111,7 @@ class CONTENT_EXPORT MediaStreamVideoSource
|
| virtual void StartSourceImpl(
|
| const media::VideoCaptureParams& params,
|
| const VideoCaptureDeliverFrameCB& frame_callback) = 0;
|
| - void OnStartDone(bool success);
|
| + void OnStartDone(MediaStreamRequestResult result);
|
|
|
| // An implementation must immediately stop capture video frames and must not
|
| // call OnSupportedFormats after this method has been called. After this
|
| @@ -135,7 +135,8 @@ class CONTENT_EXPORT MediaStreamVideoSource
|
| // fulfilled.
|
| bool FindBestFormatWithConstraints(
|
| const media::VideoCaptureFormats& formats,
|
| - media::VideoCaptureFormat* best_format);
|
| + media::VideoCaptureFormat* best_format,
|
| + blink::WebString* unsatisfied_constraint);
|
|
|
| // Trigger all cached callbacks from AddTrack. AddTrack is successful
|
| // if the capture delegate has started and the constraints provided in
|
| @@ -144,7 +145,8 @@ class CONTENT_EXPORT MediaStreamVideoSource
|
| // in the context of the callback. If gUM fail, the implementation will
|
| // simply drop the references to the blink source and track which will lead
|
| // to that this object is deleted.
|
| - void FinalizeAddTrack();
|
| + void FinalizeAddTrack(MediaStreamRequestResult result,
|
| + const blink::WebString& result_name);
|
|
|
| State state_;
|
| bool muted_state_;
|
|
|