| Index: third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| index 6a59e2b1b10fcc872a455f7cee9eda3779f7845b..9596bbf6e6566ada2776bb62532b79fea3c30499 100644
|
| --- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| +++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
|
| @@ -22,6 +22,7 @@ namespace blink {
|
|
|
| class ExceptionState;
|
| class MediaStreamTrack;
|
| +class MediaTrackConstraints;
|
| class PhotoSettings;
|
| class ScriptPromiseResolver;
|
| class WebImageCaptureFrameGrabber;
|
| @@ -63,10 +64,14 @@ class MODULES_EXPORT ImageCapture final
|
|
|
| MediaTrackCapabilities& getMediaTrackCapabilities();
|
| void setMediaTrackConstraints(ScriptPromiseResolver*,
|
| - const MediaTrackConstraintSet&);
|
| + const HeapVector<MediaTrackConstraintSet>&);
|
| const MediaTrackConstraintSet& getMediaTrackConstraints() const;
|
| + void clearMediaTrackConstraints(ScriptPromiseResolver*);
|
| void getMediaTrackSettings(MediaTrackSettings&) const;
|
|
|
| + // TODO(mcasas): Remove this service method, https://crbug.com/338503.
|
| + bool hasNonImageCaptureConstraints(const MediaTrackConstraints&) const;
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
|
|