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

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

Issue 2392963003: Add Audio support in Chromoting host when using WebRTC. (Closed)
Patch Set: . Created 4 years, 2 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
« no previous file with comments | « remoting/protocol/connection_unittest.cc ('k') | remoting/protocol/fake_audio_source.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_PROTOCOL_FAKE_AUDIO_SOURCE_H_
6 #define REMOTING_PROTOCOL_FAKE_AUDIO_SOURCE_H_
7
8 #include "base/callback.h"
9 #include "remoting/protocol/audio_source.h"
10
11 namespace remoting {
12 namespace protocol {
13
14 class FakeAudioSource : public AudioSource {
15 public:
16 FakeAudioSource();
17 ~FakeAudioSource() override;
18
19 // AudioSource interface.
20 bool Start(const PacketCapturedCallback& callback) override;
21
22 const PacketCapturedCallback& callback() { return callback_; }
23
24 private:
25 PacketCapturedCallback callback_;
26
27 DISALLOW_COPY_AND_ASSIGN(FakeAudioSource);
28 };
29
30 } // namespace protocol
31 } // namespace remoting
32
33 #endif // REMOTING_PROTOCOL_FAKE_AUDIO_SOURCE_H_
OLDNEW
« no previous file with comments | « remoting/protocol/connection_unittest.cc ('k') | remoting/protocol/fake_audio_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698