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

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

Issue 2787703004: [Mojo Video Capture] Fix VideoCaptureManager exposing implementation details to clients (Closed)
Patch Set: Rebase to April 5 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/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 2788df3bcca9181cbd284380c47668184818fe7a..0021c1e4036b7325d04d0ced58d68e40f5257612 100644
--- a/content/browser/renderer_host/media/video_capture_manager.h
+++ b/content/browser/renderer_host/media/video_capture_manager.h
@@ -33,7 +33,6 @@
#include "content/common/media/media_stream_options.h"
#include "media/base/video_facing.h"
#include "media/capture/video/video_capture_device.h"
-#include "media/capture/video/video_capture_device_factory.h"
#include "media/capture/video/video_capture_device_info.h"
#include "media/capture/video/video_capture_system.h"
#include "media/capture/video_capture_types.h"
@@ -163,24 +162,6 @@ class CONTENT_EXPORT VideoCaptureManager
void SetDesktopCaptureWindowId(media::VideoCaptureSessionId session_id,
gfx::NativeViewId window_id);
- // Gets a weak reference to the device factory, used for tests.
- media::VideoCaptureDeviceFactory* video_capture_device_factory() const {
- return video_capture_system_->video_capture_device_factory();
- }
-
-#if defined(OS_WIN)
- void set_device_task_runner(
- const scoped_refptr<base::SingleThreadTaskRunner>& device_task_runner) {
- device_task_runner_ = device_task_runner;
- }
-#endif
-
- // Returns the SingleThreadTaskRunner where devices are enumerated on and
- // started.
- scoped_refptr<base::SingleThreadTaskRunner>& device_task_runner() {
- return device_task_runner_;
- }
-
void GetPhotoCapabilities(
int session_id,
VideoCaptureDevice::GetPhotoCapabilitiesCallback callback);

Powered by Google App Engine
This is Rietveld 408576698