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

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

Issue 265263004: Mac Video Capture Device: split VCD into VCD and Factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: perkj@ suggestion: Factory method in VCDFactory. Created 6 years, 7 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_factory.h
diff --git a/media/video/capture/video_capture_device_factory.h b/media/video/capture/video_capture_device_factory.h
index ab58ad63b8e2eab6285debcf330a5a48b48f2495..71d1bbd9b6529c9009dd8d04bdc62ca02d197193 100644
--- a/media/video/capture/video_capture_device_factory.h
+++ b/media/video/capture/video_capture_device_factory.h
@@ -16,8 +16,10 @@ namespace media {
// in Device Thread (a.k.a. Audio Thread).
class MEDIA_EXPORT VideoCaptureDeviceFactory {
public:
+ static scoped_ptr<VideoCaptureDeviceFactory> Create();
perkj_chrome 2014/05/06 06:44:46 CreateFactory to not mix with the Create method us
mcasas 2014/05/06 07:26:30 Done.
+
VideoCaptureDeviceFactory();
- virtual ~VideoCaptureDeviceFactory() {}
+ virtual ~VideoCaptureDeviceFactory();
// Creates a VideoCaptureDevice object. Returns NULL if something goes wrong.
virtual scoped_ptr<VideoCaptureDevice> Create(

Powered by Google App Engine
This is Rietveld 408576698