1 // Copyright (c) 2012 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.
5 #ifndef REMOTING_PROTOCOL_AUDIO_READER_H_
6 #define REMOTING_PROTOCOL_AUDIO_READER_H_
8 #include "base/compiler_specific.h"
9 #include "remoting/proto/audio.pb.h"
10 #include "remoting/protocol/audio_stub.h"
11 #include "remoting/protocol/channel_dispatcher_base.h"
12 #include "remoting/protocol/protobuf_message_parser.h"
17 class AudioReader
: public ChannelDispatcherBase
{
19 explicit AudioReader(AudioStub
* audio_stub
);
20 ~AudioReader() override
;
23 ProtobufMessageParser
<AudioPacket
> parser_
;
25 DISALLOW_COPY_AND_ASSIGN(AudioReader
);
28 } // namespace protocol
29 } // namespace remoting
31 #endif // REMOTING_PROTOCOL_AUDIO_READER_H_