| Index: remoting/base/encoder_zlib.h
|
| diff --git a/remoting/base/encoder_zlib.h b/remoting/base/encoder_zlib.h
|
| index 0c88e7ecd550cb47a86fbde491e68331e0dc95df..6ed8365080909308d97c3e12d74c80d0befb3517 100644
|
| --- a/remoting/base/encoder_zlib.h
|
| +++ b/remoting/base/encoder_zlib.h
|
| @@ -31,9 +31,13 @@ class EncoderZlib : public Encoder {
|
| void EncodeRect(CompressorZlib* compressor, const gfx::Rect& rect,
|
| size_t rect_index);
|
|
|
| - // Create a new ChromotingHostMessage with the right flag and attributes.
|
| - // The message can be used immediately for output of encoding.
|
| - ChromotingHostMessage* PrepareMessage(const gfx::Rect* rect);
|
| + // Marks a packets as the first in a series of rectangle updates.
|
| + void PrepareUpdateStart(const gfx::Rect& rect,
|
| + RectangleUpdatePacket* update);
|
| +
|
| + // 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);
|
|
|
| // Submit |message| to |callback_|.
|
| void SubmitMessage(ChromotingHostMessage* message, size_t rect_index);
|
|
|