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

Side by Side Diff: media/video/capture/video_capture_device_dummy.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "media/video/capture/video_capture_device_dummy.h"
6
7 namespace media {
8
9 VideoCaptureDevice* VideoCaptureDevice::Create(const Name& device_name) {
10 return NULL;
11 }
12
13 void VideoCaptureDevice::GetDeviceNames(Names* device_names) {}
14
15 VideoCaptureDeviceDummy::VideoCaptureDeviceDummy() {}
16
17 VideoCaptureDeviceDummy::~VideoCaptureDeviceDummy() {}
18
19 void VideoCaptureDeviceDummy::Allocate(
20 const VideoCaptureCapability& capture_format,
21 VideoCaptureDevice::EventHandler* observer) {
22 }
23
24 void VideoCaptureDeviceDummy::Start() {}
25
26 void VideoCaptureDeviceDummy::Stop() {}
27
28 void VideoCaptureDeviceDummy::DeAllocate() {}
29
30 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698