// 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. #include "media/capture/video/linux/scoped_v4l2_device_fd.h" namespace media { ScopedV4L2DeviceFD::ScopedV4L2DeviceFD(V4L2CaptureDevice* v4l2) : … { … } ScopedV4L2DeviceFD::ScopedV4L2DeviceFD(V4L2CaptureDevice* v4l2, int device_fd) : … { … } ScopedV4L2DeviceFD::~ScopedV4L2DeviceFD() { … } int ScopedV4L2DeviceFD::get() const { … } void ScopedV4L2DeviceFD::reset(int fd /*= kInvalidId*/) { … } bool ScopedV4L2DeviceFD::is_valid() const { … } } // namespace media