OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AUDIO_SOURCE_ADAPTER_H_ | 5 #ifndef REMOTING_PROTOCOL_WEBRTC_AUDIO_SOURCE_ADAPTER_H_ |
6 #define REMOTING_PROTOCOL_WEBRTC_AUDIO_SOURCE_ADAPTER_H_ | 6 #define REMOTING_PROTOCOL_WEBRTC_AUDIO_SOURCE_ADAPTER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" |
11 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "base/single_thread_task_runner.h" |
12 #include "third_party/webrtc/api/mediastreaminterface.h" | 14 #include "third_party/webrtc/api/mediastreaminterface.h" |
13 | 15 |
14 namespace webrtc { | 16 namespace webrtc { |
15 class AudioTrackSinkInterface; | 17 class AudioTrackSinkInterface; |
16 } // namespace webrtc | 18 } // namespace webrtc |
17 | 19 |
18 namespace remoting { | 20 namespace remoting { |
19 | 21 |
20 class AudioPacket; | 22 class AudioPacket; |
21 | 23 |
(...skipping 30 matching lines...) Expand all Loading... |
52 // Core running on |audio_task_runner_|. | 54 // Core running on |audio_task_runner_|. |
53 std::unique_ptr<Core> core_; | 55 std::unique_ptr<Core> core_; |
54 | 56 |
55 DISALLOW_COPY_AND_ASSIGN(WebrtcAudioSourceAdapter); | 57 DISALLOW_COPY_AND_ASSIGN(WebrtcAudioSourceAdapter); |
56 }; | 58 }; |
57 | 59 |
58 } // namespace protocol | 60 } // namespace protocol |
59 } // namespace remoting | 61 } // namespace remoting |
60 | 62 |
61 #endif // REMOTING_PROTOCOL_WEBRTC_AUDIO_SOURCE_ADAPTER_H_ | 63 #endif // REMOTING_PROTOCOL_WEBRTC_AUDIO_SOURCE_ADAPTER_H_ |
OLD | NEW |