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

Unified Diff: content/browser/renderer_host/media/web_contents_video_capture_device.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: content/browser/renderer_host/media/web_contents_video_capture_device.h
diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device.h b/content/browser/renderer_host/media/web_contents_video_capture_device.h
index 94ac0680f6fbea91b88d7657a26bfff097baf86c..0dfe1d6e2f03efe12e8be8cc4484f97ba4dffed0 100644
--- a/content/browser/renderer_host/media/web_contents_video_capture_device.h
+++ b/content/browser/renderer_host/media/web_contents_video_capture_device.h
@@ -27,7 +27,7 @@ class RenderWidgetHost;
// underlying render view to be swapped out (e.g., due to navigation or
// crashes/reloads), without any interruption in capturing.
class CONTENT_EXPORT WebContentsVideoCaptureDevice
- : public media::VideoCaptureDevice {
+ : public media::VideoCaptureDevice1 {
public:
// Construct from a |device_id| string of the form:
// "virtual-media-stream://render_process_id:render_view_id", where
@@ -37,7 +37,7 @@ class CONTENT_EXPORT WebContentsVideoCaptureDevice
// WebContentsVideoCaptureDevice is itself deleted.
// TODO(miu): Passing a destroy callback suggests needing to revisit the
// design philosophy of an asynchronous DeAllocate(). http://crbug.com/158641
- static media::VideoCaptureDevice* Create(const std::string& device_id);
+ static media::VideoCaptureDevice1* Create(const std::string& device_id);
virtual ~WebContentsVideoCaptureDevice();

Powered by Google App Engine
This is Rietveld 408576698