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

Side by Side Diff: remoting/base/decompressor_zlib.h

Issue 8601011: Add OVERRIDE to remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_BASE_DECOMPRESSOR_ZLIB_H_ 5 #ifndef REMOTING_BASE_DECOMPRESSOR_ZLIB_H_
6 #define REMOTING_BASE_DECOMPRESSOR_ZLIB_H_ 6 #define REMOTING_BASE_DECOMPRESSOR_ZLIB_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "remoting/base/decompressor.h" 9 #include "remoting/base/decompressor.h"
10 10
11 typedef struct z_stream_s z_stream; 11 typedef struct z_stream_s z_stream;
12 12
13 namespace remoting { 13 namespace remoting {
14 14
15 // A lossless decompressor using zlib. 15 // A lossless decompressor using zlib.
16 class DecompressorZlib : public Decompressor { 16 class DecompressorZlib : public Decompressor {
17 public: 17 public:
18 DecompressorZlib(); 18 DecompressorZlib();
19 virtual ~DecompressorZlib(); 19 virtual ~DecompressorZlib();
20 20
21 virtual void Reset(); 21 virtual void Reset() OVERRIDE;
22 22
23 // Decompressor implementations. 23 // Decompressor implementations.
24 virtual bool Process(const uint8* input_data, int input_size, 24 virtual bool Process(const uint8* input_data, int input_size,
25 uint8* output_data, int output_size, 25 uint8* output_data, int output_size,
26 int* consumed, int* written); 26 int* consumed, int* written) OVERRIDE;
27 27
28 private: 28 private:
29 void InitStream(); 29 void InitStream();
30 scoped_ptr<z_stream> stream_; 30 scoped_ptr<z_stream> stream_;
31 }; 31 };
32 32
33 } // namespace remoting 33 } // namespace remoting
34 34
35 #endif // REMOTING_BASE_DECOMPRESSOR_ZLIB_H_ 35 #endif // REMOTING_BASE_DECOMPRESSOR_ZLIB_H_
OLDNEW
« no previous file with comments | « remoting/base/decompressor_verbatim.h ('k') | remoting/client/plugin/chromoting_scriptable_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698