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

Unified Diff: content/renderer/media/video_capture_impl_manager.h

Issue 2430313007: VideoCapture: remove last remnants of IPC (Closed)
Patch Set: rockot@ comment on using ChildThread Created 4 years, 2 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
« no previous file with comments | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/video_capture_impl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_impl_manager.h
diff --git a/content/renderer/media/video_capture_impl_manager.h b/content/renderer/media/video_capture_impl_manager.h
index 005e70dd3e253aa0a58f5668c4c3a4509c8fa5c0..4f937daf0eb12f5f209e86ed5abc0a98a7e4188b 100644
--- a/content/renderer/media/video_capture_impl_manager.h
+++ b/content/renderer/media/video_capture_impl_manager.h
@@ -23,7 +23,6 @@
namespace content {
class VideoCaptureImpl;
-class VideoCaptureMessageFilter;
// TODO(hclam): This class should be renamed to VideoCaptureService.
@@ -97,14 +96,8 @@ class CONTENT_EXPORT VideoCaptureImplManager {
// an individual session, please call Suspend(id) or Resume(id).
void SuspendDevices(bool suspend);
- VideoCaptureMessageFilter* video_capture_message_filter() const {
- return filter_.get();
- }
-
- protected:
virtual std::unique_ptr<VideoCaptureImpl> CreateVideoCaptureImplForTesting(
- media::VideoCaptureSessionId id,
- VideoCaptureMessageFilter* filter) const;
+ media::VideoCaptureSessionId session_id) const;
private:
// Holds bookkeeping info for each VideoCaptureImpl shared by clients.
@@ -120,8 +113,6 @@ class CONTENT_EXPORT VideoCaptureImplManager {
// The ID is global for the render process.
int next_client_id_;
- const scoped_refptr<VideoCaptureMessageFilter> filter_;
-
// Hold a pointer to the Render Main message loop to check we operate on the
// right thread.
const scoped_refptr<base::SingleThreadTaskRunner> render_main_task_runner_;
« no previous file with comments | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/video_capture_impl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698