diff options
Diffstat (limited to 'remoting/base/compressor_zlib.h')
-rw-r--r-- | remoting/base/compressor_zlib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/remoting/base/compressor_zlib.h b/remoting/base/compressor_zlib.h index 93bd5ca..5c8b91c 100644 --- a/remoting/base/compressor_zlib.h +++ b/remoting/base/compressor_zlib.h @@ -19,10 +19,9 @@ class CompressorZlib : public Compressor { virtual ~CompressorZlib(); // Compressor implementations. - virtual void Write(const uint8* input_data, int input_size, - uint8* output_data, int output_size, - int* consumed, int* written); - virtual bool Flush(uint8* output_data, int output_size, int* written); + virtual bool Process(const uint8* input_data, int input_size, + uint8* output_data, int output_size, + int* consumed, int* written); private: scoped_ptr<z_stream> stream_; |