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

Unified Diff: media/capture/video/linux/video_capture_device_factory_linux.h

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: media/capture/video/linux/video_capture_device_factory_linux.h
diff --git a/media/capture/video/linux/video_capture_device_factory_linux.h b/media/capture/video/linux/video_capture_device_factory_linux.h
deleted file mode 100644
index 27905209afef47a7c259d84cd773621f0943eaa6..0000000000000000000000000000000000000000
--- a/media/capture/video/linux/video_capture_device_factory_linux.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Implementation of a VideoCaptureDeviceFactoryLinux class.
-
-#ifndef MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_FACTORY_LINUX_H_
-#define MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_FACTORY_LINUX_H_
-
-#include "media/capture/video/video_capture_device_factory.h"
-
-#include "base/macros.h"
-#include "media/base/video_capture_types.h"
-
-namespace media {
-
-// Extension of VideoCaptureDeviceFactory to create and manipulate Linux
-// devices.
-class CAPTURE_EXPORT VideoCaptureDeviceFactoryLinux
- : public VideoCaptureDeviceFactory {
- public:
- explicit VideoCaptureDeviceFactoryLinux(
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
- ~VideoCaptureDeviceFactoryLinux() override;
-
- std::unique_ptr<VideoCaptureDevice> Create(
- const VideoCaptureDevice::Name& device_name) override;
- void GetDeviceNames(VideoCaptureDevice::Names* device_names) override;
- void GetDeviceSupportedFormats(
- const VideoCaptureDevice::Name& device,
- VideoCaptureFormats* supported_formats) override;
-
- private:
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
- DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactoryLinux);
-};
-
-} // namespace media
-#endif // MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_FACTORY_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698