OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 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_COMPRESSOR_VERBATIM_H_ | |
6 #define REMOTING_BASE_COMPRESSOR_VERBATIM_H_ | |
7 | |
8 #include "base/compiler_specific.h" | |
9 #include "remoting/base/compressor.h" | |
10 | |
11 namespace remoting { | |
12 | |
13 // Compressor for verbatim streams. | |
14 class CompressorVerbatim : public Compressor { | |
15 public: | |
16 CompressorVerbatim(); | |
17 virtual ~CompressorVerbatim(); | |
18 | |
19 // Compressor implementations. | |
20 virtual bool Process(const uint8* input_data, | |
21 int input_size, | |
22 uint8* output_data, | |
23 int output_size, | |
24 CompressorFlush flush, | |
25 int* consumed, | |
26 int* written) OVERRIDE; | |
27 | |
28 virtual void Reset() OVERRIDE; | |
29 }; | |
30 | |
31 } // namespace remoting | |
32 | |
33 #endif // REMOTING_BASE_COMPRESSOR_VERBATIM_H_ | |
OLD | NEW |