// Copyright 2018 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_LINUX_FAKE_V4L2_IMPL_H_ #define MEDIA_CAPTURE_VIDEO_LINUX_FAKE_V4L2_IMPL_H_ #include <map> #include <string> #include <linux/videodev2.h> #include "base/synchronization/lock.h" #include "media/capture/capture_export.h" #include "media/capture/video/linux/v4l2_capture_device.h" #include "media/capture/video/video_capture_device_descriptor.h" namespace media { struct FakeV4L2DeviceConfig { … }; // Implementation of V4L2CaptureDevice interface that allows configuring fake // devices useful for testing. class CAPTURE_EXPORT FakeV4L2Impl : public V4L2CaptureDevice { … }; } // namespace media #endif // MEDIA_CAPTURE_VIDEO_LINUX_FAKE_V4L2_IMPL_H_