OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 REMOTING_PROTOCOL_WEBRTC_VIDEO_STREAM_H_ | 5 #ifndef REMOTING_PROTOCOL_WEBRTC_VIDEO_STREAM_H_ |
6 #define REMOTING_PROTOCOL_WEBRTC_VIDEO_STREAM_H_ | 6 #define REMOTING_PROTOCOL_WEBRTC_VIDEO_STREAM_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/single_thread_task_runner.h" |
16 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
17 #include "remoting/codec/webrtc_video_encoder.h" | 18 #include "remoting/codec/webrtc_video_encoder.h" |
18 #include "remoting/protocol/host_video_stats_dispatcher.h" | 19 #include "remoting/protocol/host_video_stats_dispatcher.h" |
19 #include "remoting/protocol/video_stream.h" | 20 #include "remoting/protocol/video_stream.h" |
20 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" | 21 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
21 | 22 |
22 namespace webrtc { | 23 namespace webrtc { |
23 class MediaStreamInterface; | 24 class MediaStreamInterface; |
24 class PeerConnectionInterface; | 25 class PeerConnectionInterface; |
25 class PeerConnectionFactoryInterface; | 26 class PeerConnectionFactoryInterface; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 106 |
106 base::WeakPtrFactory<WebrtcVideoStream> weak_factory_; | 107 base::WeakPtrFactory<WebrtcVideoStream> weak_factory_; |
107 | 108 |
108 DISALLOW_COPY_AND_ASSIGN(WebrtcVideoStream); | 109 DISALLOW_COPY_AND_ASSIGN(WebrtcVideoStream); |
109 }; | 110 }; |
110 | 111 |
111 } // namespace protocol | 112 } // namespace protocol |
112 } // namespace remoting | 113 } // namespace remoting |
113 | 114 |
114 #endif // REMOTING_PROTOCOL_WEBRTC_VIDEO_STREAM_H_ | 115 #endif // REMOTING_PROTOCOL_WEBRTC_VIDEO_STREAM_H_ |
OLD | NEW |