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

Side by Side Diff: content/browser/renderer_host/media/video_capture_manager.h

Issue 9034032: And now NewRunnableMethod(), you die. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_frame_automation Created 8 years, 11 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // VideoCaptureManager is used to open/close, start/stop, enumerate available 5 // VideoCaptureManager is used to open/close, start/stop, enumerate available
6 // video capture devices, and manage VideoCaptureController's. 6 // video capture devices, and manage VideoCaptureController's.
7 // All functions are expected to be called from Browser::IO thread. 7 // All functions are expected to be called from Browser::IO thread.
8 // VideoCaptureManager will open OS dependent instances of VideoCaptureDevice. 8 // VideoCaptureManager will open OS dependent instances of VideoCaptureDevice.
9 // A device can only be opened once. 9 // A device can only be opened once.
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // for deleting the instances when they are not used any longer. 146 // for deleting the instances when they are not used any longer.
147 // VideoCaptureDevice is one-to-one mapped to VideoCaptureController. 147 // VideoCaptureDevice is one-to-one mapped to VideoCaptureController.
148 typedef std::map<media::VideoCaptureDevice*, Controller*> Controllers; 148 typedef std::map<media::VideoCaptureDevice*, Controller*> Controllers;
149 Controllers controllers_; 149 Controllers controllers_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(VideoCaptureManager); 151 DISALLOW_COPY_AND_ASSIGN(VideoCaptureManager);
152 }; 152 };
153 153
154 } // namespace media_stream 154 } // namespace media_stream
155 155
156 DISABLE_RUNNABLE_METHOD_REFCOUNT(media_stream::VideoCaptureManager);
157
158 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_MANAGER_H_ 156 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/audio_input_device_manager.h ('k') | content/renderer/media/video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698