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

Unified Diff: content/browser/renderer_host/media/in_process_video_capture_provider.cc

Issue 2803483003: [Mojo Video Capture] Split interface BuildableVideoCaptureDevice (Closed)
Patch Set: Remove fallback mechanism. Created 3 years, 8 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/in_process_video_capture_provider.cc
diff --git a/content/browser/renderer_host/media/in_process_video_capture_provider.cc b/content/browser/renderer_host/media/in_process_video_capture_provider.cc
index 4c60e6314a0225bd7e5d7f3f726d6c05c280af5a..6e9fea1c31c4f8bde49b1f5d0640c84dda6b2a2f 100644
--- a/content/browser/renderer_host/media/in_process_video_capture_provider.cc
+++ b/content/browser/renderer_host/media/in_process_video_capture_provider.cc
@@ -4,7 +4,7 @@
#include "content/browser/renderer_host/media/in_process_video_capture_provider.h"
-#include "content/browser/renderer_host/media/in_process_buildable_video_capture_device.h"
+#include "content/browser/renderer_host/media/in_process_video_capture_device_launcher.h"
namespace content {
@@ -27,11 +27,9 @@ void InProcessVideoCaptureProvider::GetDeviceInfosAsync(
result_callback));
}
-std::unique_ptr<BuildableVideoCaptureDevice>
-InProcessVideoCaptureProvider::CreateBuildableDevice(
- const std::string& device_id,
- MediaStreamType stream_type) {
- return base::MakeUnique<InProcessBuildableVideoCaptureDevice>(
+std::unique_ptr<VideoCaptureDeviceLauncher>
+InProcessVideoCaptureProvider::CreateDeviceLauncher() {
+ return base::MakeUnique<InProcessVideoCaptureDeviceLauncher>(
device_task_runner_, video_capture_system_.get());
}

Powered by Google App Engine
This is Rietveld 408576698