Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1053)

Unified Diff: remoting/base/decompressor_zlib.h

Issue 3305001: Move decoder into separate thread, clean up API layering, and redo update protocl (Closed)
Patch Set: Fix compile error. Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/decompressor_verbatim.cc ('k') | remoting/base/decompressor_zlib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decompressor_zlib.h
diff --git a/remoting/base/decompressor_zlib.h b/remoting/base/decompressor_zlib.h
index b76248066a3c7cbc89878346c3819cce104a6539..b5d122b3646dbcc67b5471cef4393dbe15c4715f 100644
--- a/remoting/base/decompressor_zlib.h
+++ b/remoting/base/decompressor_zlib.h
@@ -18,12 +18,15 @@ class DecompressorZlib : public Decompressor {
DecompressorZlib();
virtual ~DecompressorZlib();
+ virtual void Reset();
+
// Decompressor implementations.
virtual bool Process(const uint8* input_data, int input_size,
uint8* output_data, int output_size,
int* consumed, int* written);
private:
+ void InitStream();
scoped_ptr<z_stream> stream_;
};
« no previous file with comments | « remoting/base/decompressor_verbatim.cc ('k') | remoting/base/decompressor_zlib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698