OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // |thread_checker_| is bound to the libjingle worker thread. | 50 // |thread_checker_| is bound to the libjingle worker thread. |
51 base::ThreadChecker thread_checker_; | 51 base::ThreadChecker thread_checker_; |
52 | 52 |
53 const bool is_screencast_; | 53 const bool is_screencast_; |
54 bool running_; | 54 bool running_; |
55 base::TimeDelta first_frame_timestamp_; | 55 base::TimeDelta first_frame_timestamp_; |
56 | 56 |
57 // This is an alias to the frame_factory_ in the base class | 57 // This is an alias to the frame_factory_ in the base class |
58 // cricket::VideoCapturer. | 58 // cricket::VideoCapturer. |
59 class MediaVideoFrameFactory; | 59 class MediaVideoFrameFactory; |
60 MediaVideoFrameFactory* frame_factory_; | 60 MediaVideoFrameFactory* const frame_factory_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter); | 62 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace content | 65 } // namespace content |
66 | 66 |
67 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ | 67 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ |
OLD | NEW |