Chromium Code Reviews| Index: remoting/protocol/connection_to_client.h |
| diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h |
| index f786e54de09a806cd30d525dd3f44dc841e216d6..d1a1618e4b30dcd91434728c866630c808211a8d 100644 |
| --- a/remoting/protocol/connection_to_client.h |
| +++ b/remoting/protocol/connection_to_client.h |
| @@ -12,6 +12,7 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "base/synchronization/lock.h" |
| #include "base/threading/non_thread_safe.h" |
| +#include "remoting/protocol/audio_writer.h" |
| #include "remoting/protocol/session.h" |
| #include "remoting/protocol/video_writer.h" |
| @@ -83,6 +84,9 @@ class ConnectionToClient : public base::NonThreadSafe { |
| // Send encoded update stream data to the viewer. |
| virtual VideoStub* video_stub(); |
| + // Send audio stream data to the viewer. |
|
Wez
2012/06/22 18:29:53
nit: Is it possible that this be NULL if audio is
kxing
2012/06/22 19:12:31
Done.
|
| + virtual AudioStub* audio_stub(); |
| + |
| // Send control data to the viewer/client. |
| virtual ClientStub* client_stub(); |
| @@ -123,6 +127,7 @@ class ConnectionToClient : public base::NonThreadSafe { |
| scoped_ptr<HostControlDispatcher> control_dispatcher_; |
| scoped_ptr<HostEventDispatcher> event_dispatcher_; |
| scoped_ptr<VideoWriter> video_writer_; |
| + scoped_ptr<AudioWriter> audio_writer_; |
| DISALLOW_COPY_AND_ASSIGN(ConnectionToClient); |
| }; |