Roll tools/swarming_client/ to b61a1802f5ef4bb8c7b81060cc80add47e6cf302.
[chromium-blink-merge.git] / remoting / protocol / audio_stub.h
blobd32a674fd8159dc32fd8a864d535d384a8deff2f
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_STUB_H_
6 #define REMOTING_PROTOCOL_AUDIO_STUB_H_
8 #include "base/callback_forward.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace remoting {
13 class AudioPacket;
15 namespace protocol {
17 class AudioStub {
18 public:
19 virtual ~AudioStub() { }
21 virtual void ProcessAudioPacket(scoped_ptr<AudioPacket> audio_packet,
22 const base::Closure& done) = 0;
24 protected:
25 AudioStub() { }
27 private:
28 DISALLOW_COPY_AND_ASSIGN(AudioStub);
31 } // namespace protocol
32 } // namespace remoting
34 #endif // REMOTING_PROTOCOL_AUDIO_STUB_H_