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

Unified Diff: remoting/base/decompressor.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/decoder_zlib_unittest.cc ('k') | remoting/base/decompressor_verbatim.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decompressor.h
diff --git a/remoting/base/decompressor.h b/remoting/base/decompressor.h
index b688b3beeff018396853ee741e10caa029f2669d..025850e0d7b9f78b8782bdbb0583a97a02b48c38 100644
--- a/remoting/base/decompressor.h
+++ b/remoting/base/decompressor.h
@@ -18,6 +18,10 @@ class Decompressor {
public:
virtual ~Decompressor() {}
+ // Resets all the internal state so the decompressor behaves as if it was
+ // just created.
+ virtual void Reset() = 0;
+
// Decompress |input_data| with |input_size| bytes.
//
// |output_data| is provided by the caller and |output_size| is the
« no previous file with comments | « remoting/base/decoder_zlib_unittest.cc ('k') | remoting/base/decompressor_verbatim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698