// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_ON_TASK_RUNNER_H_ #define MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_ON_TASK_RUNNER_H_ #include "media/capture/video/video_frame_receiver.h" namespace base { class SingleThreadTaskRunner; } namespace media { // Decorator for VideoFrameReceiver that forwards all incoming calls to the // given |task_runner|. class CAPTURE_EXPORT VideoFrameReceiverOnTaskRunner : public VideoFrameReceiver { … }; } // namespace media #endif // MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_ON_TASK_RUNNER_H_