Chromium Code Reviews| Index: remoting/host/screen_recorder.h |
| diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h |
| index 462ade79af53584a8a7e3effdc686aee2f9301f4..b3ae6b13141354e296af8872003ad2ddd954d936 100644 |
| --- a/remoting/host/screen_recorder.h |
| +++ b/remoting/host/screen_recorder.h |
| @@ -17,6 +17,7 @@ |
| #include "remoting/base/encoder.h" |
| #include "remoting/host/capturer.h" |
| #include "remoting/host/capture_scheduler.h" |
| +#include "remoting/proto/audio.pb.h" |
| #include "remoting/proto/video.pb.h" |
| namespace base { |
| @@ -133,6 +134,8 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> { |
| void DoSendVideoPacket(scoped_ptr<VideoPacket> packet); |
| + void DoSendAudioPacket(scoped_ptr<AudioPacket> packet); |
|
Sergey Ulanov
2012/06/21 17:24:56
I'm not convinced we should put audio-related code
kxing
2012/06/21 18:09:22
Done.
|
| + |
| void DoSendInit(scoped_refptr<protocol::ConnectionToClient> connection, |
| int width, int height); |
| @@ -143,6 +146,8 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> { |
| // each last packet in a frame. |
| void VideoFrameSentCallback(); |
| + void AudioSamplesSentCallback(); |
| + |
| // Send updated cursor shape to client. |
| void DoSendCursorShape(scoped_ptr<protocol::CursorShapeInfo> cursor_shape); |