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

Unified Diff: content/browser/renderer_host/media/video_capture_manager.h

Issue 706443002: Retry: Win Video Capture: Create an STA |video_capture_thread_| from MediaStreamManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_manager.h
diff --git a/content/browser/renderer_host/media/video_capture_manager.h b/content/browser/renderer_host/media/video_capture_manager.h
index a42fc537ab7c4bb6f56a5bd007f5fac22da23954..544fb86472f8a53c13579f7eed14db543a57870d 100644
--- a/content/browser/renderer_host/media/video_capture_manager.h
+++ b/content/browser/renderer_host/media/video_capture_manager.h
@@ -131,6 +131,13 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider {
return video_capture_device_factory_.get();
}
+#if defined(OS_WIN)
+ void set_device_task_runner(
+ const scoped_refptr<base::SingleThreadTaskRunner>& device_task_runner) {
+ device_task_runner_ = device_task_runner;
+ }
+#endif
+
private:
~VideoCaptureManager() override;
struct DeviceEntry;
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698