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

Unified Diff: remoting/base/compressor.h

Issue 5382008: Refactor ZLib and Verbatim encoders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 10 years 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 | « no previous file | remoting/base/compressor_verbatim.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/compressor.h
diff --git a/remoting/base/compressor.h b/remoting/base/compressor.h
index edb64f842b95a268ba3774f8d3c4ad5e72972af5..1678255e2ed729e26d77aff1f4c629b59f45e89e 100644
--- a/remoting/base/compressor.h
+++ b/remoting/base/compressor.h
@@ -25,6 +25,10 @@ class Compressor {
};
virtual ~Compressor() {}
+ // Resets all the internal state so the compressor behaves as if it
+ // was just created.
+ virtual void Reset() = 0;
+
// Compress |input_data| with |input_size| bytes.
//
// |output_data| is provided by the caller and |output_size| is the
« no previous file with comments | « no previous file | remoting/base/compressor_verbatim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698