Chromium Code Reviews| 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; |
|
Wez
2012/06/19 03:29:31
nit: This should be renamed PendingVideoPacketCoun
kxing
2012/06/20 22:30:06
This CL is already getting pretty huge.
I'll do t
|
| + // AudioStub implementation. |
| + virtual void ProcessAudioPacket(scoped_ptr<AudioPacket> packet, |
| + const base::Closure& done) OVERRIDE; |
| + |
| private: |
| struct QueuedVideoPacket { |
| QueuedVideoPacket(scoped_ptr<VideoPacket> packet, |