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

Side by Side Diff: content/renderer/media/video_capture_impl_manager.h

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra BUILD.gn line 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(hclam): This class should be renamed to VideoCaptureService. 5 // TODO(hclam): This class should be renamed to VideoCaptureService.
6 6
7 // This class provides access to a video capture device in the browser 7 // This class provides access to a video capture device in the browser
8 // process through IPC. The main function is to deliver video frames 8 // process through IPC. The main function is to deliver video frames
9 // to a client. 9 // to a client.
10 // 10 //
(...skipping 14 matching lines...) Expand all
25 #include "base/memory/linked_ptr.h" 25 #include "base/memory/linked_ptr.h"
26 #include "base/memory/ref_counted.h" 26 #include "base/memory/ref_counted.h"
27 #include "base/memory/scoped_ptr.h" 27 #include "base/memory/scoped_ptr.h"
28 #include "base/memory/weak_ptr.h" 28 #include "base/memory/weak_ptr.h"
29 #include "base/message_loop/message_loop_proxy.h" 29 #include "base/message_loop/message_loop_proxy.h"
30 #include "base/synchronization/lock.h" 30 #include "base/synchronization/lock.h"
31 #include "base/threading/thread_checker.h" 31 #include "base/threading/thread_checker.h"
32 #include "content/common/content_export.h" 32 #include "content/common/content_export.h"
33 #include "content/common/media/video_capture.h" 33 #include "content/common/media/video_capture.h"
34 #include "content/public/renderer/media_stream_video_sink.h" 34 #include "content/public/renderer/media_stream_video_sink.h"
35 #include "media/video/capture/video_capture_types.h" 35 #include "media/base/video_capture_types.h"
36 36
37 namespace content { 37 namespace content {
38 38
39 class VideoCaptureImpl; 39 class VideoCaptureImpl;
40 class VideoCaptureMessageFilter; 40 class VideoCaptureMessageFilter;
41 41
42 class CONTENT_EXPORT VideoCaptureImplManager { 42 class CONTENT_EXPORT VideoCaptureImplManager {
43 public: 43 public:
44 VideoCaptureImplManager(); 44 VideoCaptureImplManager();
45 virtual ~VideoCaptureImplManager(); 45 virtual ~VideoCaptureImplManager();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // Bound to the render thread. 124 // Bound to the render thread.
125 // NOTE: Weak pointers must be invalidated before all other member variables. 125 // NOTE: Weak pointers must be invalidated before all other member variables.
126 base::WeakPtrFactory<VideoCaptureImplManager> weak_factory_; 126 base::WeakPtrFactory<VideoCaptureImplManager> weak_factory_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImplManager); 128 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImplManager);
129 }; 129 };
130 130
131 } // namespace content 131 } // namespace content
132 132
133 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_ 133 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/video_capture_impl.h ('k') | content/renderer/media/video_capture_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698