summaryrefslogtreecommitdiffstats
path: root/remoting/base/encoder_zlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base/encoder_zlib.h')
-rw-r--r--remoting/base/encoder_zlib.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/remoting/base/encoder_zlib.h b/remoting/base/encoder_zlib.h
index 3d0a13e..6699f03 100644
--- a/remoting/base/encoder_zlib.h
+++ b/remoting/base/encoder_zlib.h
@@ -32,15 +32,14 @@ class EncoderZlib : public Encoder {
size_t rect_index);
// Marks a packets as the first in a series of rectangle updates.
- void PrepareUpdateStart(const gfx::Rect& rect,
- RectangleUpdatePacket* update);
+ void PrepareUpdateStart(const gfx::Rect& rect, VideoPacket* packet);
// Retrieves a pointer to the output buffer in |update| used for storing the
// encoded rectangle data. Will resize the buffer to |size|.
- uint8* GetOutputBuffer(RectangleUpdatePacket* update, size_t size);
+ uint8* GetOutputBuffer(VideoPacket* packet, size_t size);
// Submit |message| to |callback_|.
- void SubmitMessage(ChromotingHostMessage* message, size_t rect_index);
+ void SubmitMessage(VideoPacket* packet, size_t rect_index);
scoped_refptr<CaptureData> capture_data_;
scoped_ptr<DataAvailableCallback> callback_;