Index: content/common/gpu/client/gpu_video_encode_accelerator_host.h |
diff --git a/content/common/gpu/client/gpu_video_encode_accelerator_host.h b/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
index 4d1e79f1e44d012aea975e5f33299e6baebba795..cf7bb7c2dcd2d676afe2772e9611bd1d846dc47a 100644 |
--- a/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
+++ b/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
@@ -70,6 +70,13 @@ class GpuVideoEncodeAcceleratorHost |
// Only Destroy() should be deleting |this|. |
~GpuVideoEncodeAcceleratorHost() override; |
+ // Encode implementations for video frames with different storage types. |
+ // Return true on successful completion. |
+ bool EncodeNativeTexture(const scoped_refptr<media::VideoFrame>& frame, |
+ bool force_keyframe); |
+ bool EncodeSharedMemory(const scoped_refptr<media::VideoFrame>& frame, |
+ bool force_keyframe); |
+ |
// Notify |client_| of an error. Posts a task to avoid re-entrancy. |
void PostNotifyError(Error); |