password_manager::metrics_util::LogUMAHistogramBoolean should upload
[chromium-blink-merge.git] / remoting / protocol / audio_reader.h
blobc4bced756be92c7834f2e276d792f3f8fc5be568
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"
14 namespace remoting {
15 namespace protocol {
17 class AudioReader : public ChannelDispatcherBase {
18 public:
19 explicit AudioReader(AudioStub* audio_stub);
20 ~AudioReader() override;
22 private:
23 ProtobufMessageParser<AudioPacket> parser_;
25 DISALLOW_COPY_AND_ASSIGN(AudioReader);
28 } // namespace protocol
29 } // namespace remoting
31 #endif // REMOTING_PROTOCOL_AUDIO_READER_H_