// |destroy_cb| is invoked on an outside thread once all outstanding objects
// are completely destroyed -- this will be some time after the
// 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);
virtual ~WebContentsVideoCaptureDevice();