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

Side by Side Diff: remoting/base/decompressor_verbatim.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 unified diff | Download patch
« no previous file with comments | « remoting/base/decompressor.h ('k') | remoting/base/decompressor_verbatim.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_BASE_DECOMPRESSOR_VERBATIM_H_
6 #define REMOTING_BASE_DECOMPRESSOR_VERBATIM_H_
7
8 #include "base/scoped_ptr.h"
9 #include "remoting/base/decompressor.h"
10
11 namespace remoting {
12
13 // A lossless decompressor using zlib.
14 class DecompressorVerbatim : public Decompressor {
15 public:
16 DecompressorVerbatim();
17 virtual ~DecompressorVerbatim();
18
19 virtual void Reset();
20
21 // Decompressor implementations.
22 virtual bool Process(const uint8* input_data, int input_size,
23 uint8* output_data, int output_size,
24 int* consumed, int* written);
25 };
26
27 } // namespace remoting
28
29 #endif // REMOTING_BASE_DECOMPRESSOR_VERBATIM_H_
OLDNEW
« no previous file with comments | « remoting/base/decompressor.h ('k') | remoting/base/decompressor_verbatim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698