blob: 715110c96d3692b686f92bfcdcbae9b510f61fc6 [file] [log] [blame]
[email protected]06810172012-06-07 15:31:121// 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.
4
5#ifndef REMOTING_PROTOCOL_AUDIO_STUB_H_
6#define REMOTING_PROTOCOL_AUDIO_STUB_H_
7
dcheng0765c492016-04-06 22:41:538#include <memory>
9
[email protected]06810172012-06-07 15:31:1210#include "base/callback_forward.h"
avi5a080f012015-12-22 23:15:4311#include "base/macros.h"
[email protected]06810172012-06-07 15:31:1212
13namespace remoting {
14
15class AudioPacket;
16
17namespace protocol {
18
19class AudioStub {
20 public:
21 virtual ~AudioStub() { }
22
dcheng0765c492016-04-06 22:41:5323 virtual void ProcessAudioPacket(std::unique_ptr<AudioPacket> audio_packet,
[email protected]06810172012-06-07 15:31:1224 const base::Closure& done) = 0;
25
26 protected:
27 AudioStub() { }
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(AudioStub);
31};
32
33} // namespace protocol
34} // namespace remoting
35
36#endif // REMOTING_PROTOCOL_AUDIO_STUB_H_