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

Side by Side Diff: remoting/base/compressor_verbatim.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
« no previous file with comments | « remoting/base/compound_buffer.h ('k') | remoting/base/compressor_zlib.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 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_COMPRESSOR_VERBATIM_H_ 5 #ifndef REMOTING_BASE_COMPRESSOR_VERBATIM_H_
6 #define REMOTING_BASE_COMPRESSOR_VERBATIM_H_ 6 #define REMOTING_BASE_COMPRESSOR_VERBATIM_H_
7 7
8 #include "base/compiler_specific.h"
8 #include "remoting/base/compressor.h" 9 #include "remoting/base/compressor.h"
9 10
10 namespace remoting { 11 namespace remoting {
11 12
12 // Compressor for verbatim streams. 13 // Compressor for verbatim streams.
13 class CompressorVerbatim : public Compressor { 14 class CompressorVerbatim : public Compressor {
14 public: 15 public:
15 CompressorVerbatim(); 16 CompressorVerbatim();
16 virtual ~CompressorVerbatim(); 17 virtual ~CompressorVerbatim();
17 18
18 // Compressor implementations. 19 // Compressor implementations.
19 virtual bool Process(const uint8* input_data, int input_size, 20 virtual bool Process(const uint8* input_data,
20 uint8* output_data, int output_size, 21 int input_size,
21 CompressorFlush flush, int* consumed, int* written); 22 uint8* output_data,
23 int output_size,
24 CompressorFlush flush,
25 int* consumed,
26 int* written) OVERRIDE;
22 27
23 virtual void Reset(); 28 virtual void Reset() OVERRIDE;
24 }; 29 };
25 30
26 } // namespace remoting 31 } // namespace remoting
27 32
28 #endif // REMOTING_BASE_COMPRESSOR_VERBATIM_H_ 33 #endif // REMOTING_BASE_COMPRESSOR_VERBATIM_H_
OLDNEW
« no previous file with comments | « remoting/base/compound_buffer.h ('k') | remoting/base/compressor_zlib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698