OLD | NEW |
---|---|
(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_CLIENT_AUDIO_CONSUMER_H_ | |
6 #define REMOTING_CLIENT_AUDIO_CONSUMER_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "remoting/proto/audio.pb.h" | |
11 | |
12 namespace remoting { | |
13 | |
14 class AudioConsumer { | |
15 public: | |
16 virtual ~AudioConsumer(); | |
Sergey Ulanov
2016/06/09 21:11:44
Add {} here:
virtual ~AudioConsumer() {}
Otherwi
nicholss
2016/06/15 21:07:26
Done.
| |
17 | |
18 virtual void AddAudioPacket(std::unique_ptr<AudioPacket> packet) = 0; | |
19 | |
20 protected: | |
21 AudioConsumer(){}; | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(AudioConsumer); | |
25 }; | |
26 | |
27 } // namespace remoting | |
28 | |
29 #endif // REMOTING_CLIENT_AUDIO_CONSUMER_H_ | |
OLD | NEW |