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

Unified Diff: media/video/capture/video_capture_device_dummy.h

Issue 24133002: Make VideoCaptureController single-threaded and not ref counted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git pull Created 7 years, 3 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/video/capture/video_capture_device_dummy.h
diff --git a/media/video/capture/video_capture_device_dummy.h b/media/video/capture/video_capture_device_dummy.h
deleted file mode 100644
index c4a95cb0ce28f98c71a9d7ac57e8422cded804cf..0000000000000000000000000000000000000000
--- a/media/video/capture/video_capture_device_dummy.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2011 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.
-
-// A dummy implementation of VideoCaptureDevice to use for platforms without
-// real video capture support. The class will be removed once the other
-// platforms have real video capture device support.
-//
-// TODO(mflodman) Remove when video_capture_device_mac and
-// video_capture_device_win are available.
-
-#ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DUMMY_H_
-#define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DUMMY_H_
-
-#include "base/compiler_specific.h"
-#include "media/video/capture/video_capture_device.h"
-
-namespace media {
-
-class VideoCaptureDeviceDummy : public VideoCaptureDevice {
- public:
- virtual void Allocate(const VideoCaptureCapability& capture_format,
- VideoCaptureDevice::EventHandler* observer) OVERRIDE;
- virtual void Start() OVERRIDE;
- virtual void Stop() OVERRIDE;
- virtual void DeAllocate() OVERRIDE;
-
- private:
- VideoCaptureDeviceDummy();
- virtual ~VideoCaptureDeviceDummy();
-
- DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceDummy);
-};
-
-} // namespace media
-
-#endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DUMMY_H_

Powered by Google App Engine
This is Rietveld 408576698