Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: content/browser/media/capture/web_contents_video_capture_device.h

Issue 2364413002: Screen Video Capture: Implement suspend optimization. (Closed)
Patch Set: Unwind ScreenCaptureMachineAndroid changes. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/media/capture/web_contents_video_capture_device.h
diff --git a/content/browser/media/capture/web_contents_video_capture_device.h b/content/browser/media/capture/web_contents_video_capture_device.h
index ea92b3b2f0f1db573cd53d3ecb5ced4e48bfceab..6bcddfa98dd70225f822c952d1dd8ac22cd9797c 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.h
+++ b/content/browser/media/capture/web_contents_video_capture_device.h
@@ -38,6 +38,8 @@ class CONTENT_EXPORT WebContentsVideoCaptureDevice
void AllocateAndStart(const media::VideoCaptureParams& params,
std::unique_ptr<Client> client) override;
void RequestRefreshFrame() override;
+ void MaybeSuspend() override;
+ void Resume() override;
void StopAndDeAllocate() override;
private:

Powered by Google App Engine
This is Rietveld 408576698