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

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

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURE_DELEGATE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURE_DELEGATE_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURE_DELEGATE_H_ 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURE_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "content/common/media/video_capture.h" 10 #include "content/common/media/video_capture.h"
11 #include "content/renderer/media/video_capture_impl_manager.h" 11 #include "content/renderer/media/video_capture_impl_manager.h"
12 #include "media/video/capture/video_capture.h" 12 #include "media/video/capture/video_capture.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 // Implements a simple reference counted video capturer that guarantees that 16 // Implements a simple reference counted video capturer that guarantees that
17 // methods in RtcVideoCaptureDelegateEventHandler is only called from when 17 // methods in RtcVideoCaptureDelegateEventHandler is only called from when
18 // StartCapture have been called until after StopCapture have been called. 18 // StartCapture have been called until after StopCapture have been called.
19 // It uses VideoCaptureImplManager to start / stop and receive I420 frames 19 // It uses VideoCaptureImplManager to start / stop and receive I420 frames
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // |state_callback_| is provided to this class in StartCapture and must be 83 // |state_callback_| is provided to this class in StartCapture and must be
84 // valid until StopCapture is called. 84 // valid until StopCapture is called.
85 StateChangeCallback state_callback_; 85 StateChangeCallback state_callback_;
86 // Message loop of the caller of StartCapture. 86 // Message loop of the caller of StartCapture.
87 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; 87 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURE_DELEGATE_H_ 92 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURE_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/render_media_log.cc ('k') | content/renderer/media/rtc_video_decoder_bridge_tv.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698