| Index: remoting/client/chromoting_client.h
|
| diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
|
| index 9bfada3f58ebdab4b20d28b63b650fe8ca3609da..3199da17c4ad4900684c6a8751e5a018dfa8cd82 100644
|
| --- a/remoting/client/chromoting_client.h
|
| +++ b/remoting/client/chromoting_client.h
|
| @@ -15,6 +15,7 @@
|
| #include "remoting/client/client_config.h"
|
| #include "remoting/client/chromoting_stats.h"
|
| #include "remoting/client/chromoting_view.h"
|
| +#include "remoting/protocol/audio_stub.h"
|
| #include "remoting/protocol/client_stub.h"
|
| #include "remoting/protocol/clipboard_stub.h"
|
| #include "remoting/protocol/connection_to_host.h"
|
| @@ -37,7 +38,8 @@ class RectangleUpdateDecoder;
|
| // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder.
|
| class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
|
| public protocol::ClientStub,
|
| - public protocol::VideoStub {
|
| + public protocol::VideoStub,
|
| + public protocol::AudioStub {
|
| public:
|
| // Objects passed in are not owned by this class.
|
| ChromotingClient(const ClientConfig& config,
|
| @@ -73,6 +75,10 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
|
| const base::Closure& done) OVERRIDE;
|
| virtual int GetPendingPackets() OVERRIDE;
|
|
|
| + // AudioStub implementation.
|
| + virtual void ProcessAudioPacket(scoped_ptr<AudioPacket> packet,
|
| + const base::Closure& done) OVERRIDE;
|
| +
|
| private:
|
| struct QueuedVideoPacket {
|
| QueuedVideoPacket(scoped_ptr<VideoPacket> packet,
|
|
|