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

Side by Side Diff: content/renderer/media/video_capture_impl.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 // VideoCaptureImpl represents a capture device in renderer process. It provides 5 // VideoCaptureImpl represents a capture device in renderer process. It provides
6 // interfaces for clients to Start/Stop capture. It also communicates to clients 6 // interfaces for clients to Start/Stop capture. It also communicates to clients
7 // when buffer is ready, state of capture device is changed. 7 // when buffer is ready, state of capture device is changed.
8 8
9 // VideoCaptureImpl is also a delegate of VideoCaptureMessageFilter which relays 9 // VideoCaptureImpl is also a delegate of VideoCaptureMessageFilter which relays
10 // operation of a capture device to the browser process and receives responses 10 // operation of a capture device to the browser process and receives responses
(...skipping 11 matching lines...) Expand all
22 22
23 #include <list> 23 #include <list>
24 #include <map> 24 #include <map>
25 25
26 #include "base/memory/weak_ptr.h" 26 #include "base/memory/weak_ptr.h"
27 #include "base/threading/thread_checker.h" 27 #include "base/threading/thread_checker.h"
28 #include "content/common/content_export.h" 28 #include "content/common/content_export.h"
29 #include "content/common/media/video_capture.h" 29 #include "content/common/media/video_capture.h"
30 #include "content/public/renderer/media_stream_video_sink.h" 30 #include "content/public/renderer/media_stream_video_sink.h"
31 #include "content/renderer/media/video_capture_message_filter.h" 31 #include "content/renderer/media/video_capture_message_filter.h"
32 #include "media/video/capture/video_capture_types.h" 32 #include "media/base/video_capture_types.h"
33 33
34 namespace base { 34 namespace base {
35 class MessageLoopProxy; 35 class MessageLoopProxy;
36 } // namespace base 36 } // namespace base
37 37
38 namespace gpu { 38 namespace gpu {
39 struct MailboxHolder; 39 struct MailboxHolder;
40 } // namespace gpu 40 } // namespace gpu
41 41
42 namespace media { 42 namespace media {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // in |client_buffers_|. 182 // in |client_buffers_|.
183 // NOTE: Weak pointers must be invalidated before all other member variables. 183 // NOTE: Weak pointers must be invalidated before all other member variables.
184 base::WeakPtrFactory<VideoCaptureImpl> weak_factory_; 184 base::WeakPtrFactory<VideoCaptureImpl> weak_factory_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl); 186 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl);
187 }; 187 };
188 188
189 } // namespace content 189 } // namespace content
190 190
191 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 191 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/user_media_client_impl.cc ('k') | content/renderer/media/video_capture_impl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698