| Index: media/base/video_capturer_source.h
|
| diff --git a/media/base/video_capturer_source.h b/media/base/video_capturer_source.h
|
| index ddec90c6599b26b564984e0b347d22472b4ca0df..edda400475ec26f01f8311dbef6427b7cb0d26a0 100644
|
| --- a/media/base/video_capturer_source.h
|
| +++ b/media/base/video_capturer_source.h
|
| @@ -86,6 +86,14 @@ class MEDIA_EXPORT VideoCapturerSource {
|
| // successfully, then |new_frame_callback| should be called with a frame.
|
| virtual void RequestRefreshFrame() {}
|
|
|
| + // Optionally suspends frame delivery. The source may or may not honor this
|
| + // request. The purpose of this is to allow minimizing resource usage while
|
| + // there are no frame consumers present.
|
| + virtual void MaybeSuspend() {}
|
| +
|
| + // Resumes frame delivery, if it was suspended.
|
| + virtual void Resume() {}
|
| +
|
| // Stops capturing frames and clears all callbacks including the
|
| // SupportedFormatsCallback callback. Note that queued frame callbacks
|
| // may still occur after this call, so the caller must take care to
|
|
|