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

Unified Diff: content/renderer/media/media_stream_video_capturer_source.cc

Issue 960103002: Rename VideoCaptureImplManager to VideoCaptureService Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some nits Created 5 years, 10 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/renderer/media/media_stream_video_capturer_source.cc
diff --git a/content/renderer/media/media_stream_video_capturer_source.cc b/content/renderer/media/media_stream_video_capturer_source.cc
index b414f7a6eeb7cf9dd736a09cb54b99a8e61bed78..544a3d266da41048176cc65e90450b5d74a440d9 100644
--- a/content/renderer/media/media_stream_video_capturer_source.cc
+++ b/content/renderer/media/media_stream_video_capturer_source.cc
@@ -7,7 +7,7 @@
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/location.h"
-#include "content/renderer/media/video_capture_impl_manager.h"
+#include "content/renderer/media/video_capture_service.h"
#include "content/renderer/render_thread_impl.h"
#include "media/base/bind_to_current_loop.h"
#include "media/base/video_frame.h"
@@ -47,8 +47,8 @@ VideoCapturerDelegate::VideoCapturerDelegate(
// NULL in unit test.
if (RenderThreadImpl::current()) {
- VideoCaptureImplManager* manager =
- RenderThreadImpl::current()->video_capture_impl_manager();
+ VideoCaptureService* manager =
+ RenderThreadImpl::current()->video_capture_service();
if (manager)
release_device_cb_ = manager->UseDevice(session_id_);
}
@@ -88,8 +88,8 @@ void VideoCapturerDelegate::GetCurrentSupportedFormats(
// NULL in unit test.
if (!RenderThreadImpl::current())
return;
- VideoCaptureImplManager* manager =
- RenderThreadImpl::current()->video_capture_impl_manager();
+ VideoCaptureService* manager =
+ RenderThreadImpl::current()->video_capture_service();
if (!manager)
return;
DCHECK(source_formats_callback_.is_null());
@@ -114,8 +114,8 @@ void VideoCapturerDelegate::StartCapture(
// NULL in unit test.
if (!RenderThreadImpl::current())
return;
- VideoCaptureImplManager* manager =
- RenderThreadImpl::current()->video_capture_impl_manager();
+ VideoCaptureService* manager =
+ RenderThreadImpl::current()->video_capture_service();
if (!manager)
return;
if (frame_callback_task_runner !=
@@ -178,8 +178,8 @@ void VideoCapturerDelegate::OnDeviceFormatsInUseReceived(
// NULL in unit test.
if (!RenderThreadImpl::current())
return;
- VideoCaptureImplManager* manager =
- RenderThreadImpl::current()->video_capture_impl_manager();
+ VideoCaptureService* manager =
+ RenderThreadImpl::current()->video_capture_service();
if (!manager)
return;

Powered by Google App Engine
This is Rietveld 408576698