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

Side by Side Diff: remoting/protocol/webrtc_audio_source_adapter.h

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « remoting/protocol/webrtc_audio_module.h ('k') | remoting/protocol/webrtc_frame_scheduler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/memory/ref_counted.h"
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "third_party/webrtc/api/mediastreaminterface.h" 14 #include "third_party/webrtc/api/mediastreaminterface.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 class AudioTrackSinkInterface; 17 class AudioTrackSinkInterface;
18 } // namespace webrtc 18 } // namespace webrtc
19 19
20 namespace remoting { 20 namespace remoting {
21 21
22 class AudioPacket;
23
24 namespace protocol { 22 namespace protocol {
25 23
26 class AudioSource; 24 class AudioSource;
27 25
28 class WebrtcAudioSourceAdapter : public webrtc::AudioSourceInterface { 26 class WebrtcAudioSourceAdapter : public webrtc::AudioSourceInterface {
29 public: 27 public:
30 explicit WebrtcAudioSourceAdapter( 28 explicit WebrtcAudioSourceAdapter(
31 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner); 29 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner);
32 ~WebrtcAudioSourceAdapter() override; 30 ~WebrtcAudioSourceAdapter() override;
33 31
(...skipping 20 matching lines...) Expand all
54 // Core running on |audio_task_runner_|. 52 // Core running on |audio_task_runner_|.
55 std::unique_ptr<Core> core_; 53 std::unique_ptr<Core> core_;
56 54
57 DISALLOW_COPY_AND_ASSIGN(WebrtcAudioSourceAdapter); 55 DISALLOW_COPY_AND_ASSIGN(WebrtcAudioSourceAdapter);
58 }; 56 };
59 57
60 } // namespace protocol 58 } // namespace protocol
61 } // namespace remoting 59 } // namespace remoting
62 60
63 #endif // REMOTING_PROTOCOL_WEBRTC_AUDIO_SOURCE_ADAPTER_H_ 61 #endif // REMOTING_PROTOCOL_WEBRTC_AUDIO_SOURCE_ADAPTER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/webrtc_audio_module.h ('k') | remoting/protocol/webrtc_frame_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698