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

Side by Side Diff: remoting/base/decoder_row_based.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/compressor_zlib.h ('k') | remoting/base/decompressor_verbatim.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) 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_DECODER_ROW_BASED_H_ 5 #ifndef REMOTING_BASE_DECODER_ROW_BASED_H_
6 #define REMOTING_BASE_DECODER_ROW_BASED_H_ 6 #define REMOTING_BASE_DECODER_ROW_BASED_H_
7 7
8 #include "remoting/base/decoder.h" 8 #include "remoting/base/decoder.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 class Decompressor; 12 class Decompressor;
13 13
14 class DecoderRowBased : public Decoder { 14 class DecoderRowBased : public Decoder {
15 public: 15 public:
16 virtual ~DecoderRowBased(); 16 virtual ~DecoderRowBased();
17 17
18 static DecoderRowBased* CreateZlibDecoder(); 18 static DecoderRowBased* CreateZlibDecoder();
19 static DecoderRowBased* CreateVerbatimDecoder(); 19 static DecoderRowBased* CreateVerbatimDecoder();
20 20
21 // Decoder implementation. 21 // Decoder implementation.
22 virtual bool IsReadyForData(); 22 virtual bool IsReadyForData() OVERRIDE;
23 virtual void Initialize(scoped_refptr<media::VideoFrame> frame); 23 virtual void Initialize(scoped_refptr<media::VideoFrame> frame) OVERRIDE;
24 virtual DecodeResult DecodePacket(const VideoPacket* packet); 24 virtual DecodeResult DecodePacket(const VideoPacket* packet) OVERRIDE;
25 virtual void GetUpdatedRects(RectVector* rects); 25 virtual void GetUpdatedRects(RectVector* rects) OVERRIDE;
26 virtual void Reset(); 26 virtual void Reset() OVERRIDE;
27 virtual VideoPacketFormat::Encoding Encoding(); 27 virtual VideoPacketFormat::Encoding Encoding() OVERRIDE;
28 28
29 private: 29 private:
30 enum State { 30 enum State {
31 kUninitialized, 31 kUninitialized,
32 kReady, 32 kReady,
33 kProcessing, 33 kProcessing,
34 kPartitionDone, 34 kPartitionDone,
35 kDone, 35 kDone,
36 kError, 36 kError,
37 }; 37 };
(...skipping 26 matching lines...) Expand all
64 int row_y_; 64 int row_y_;
65 65
66 RectVector updated_rects_; 66 RectVector updated_rects_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(DecoderRowBased); 68 DISALLOW_COPY_AND_ASSIGN(DecoderRowBased);
69 }; 69 };
70 70
71 } // namespace remoting 71 } // namespace remoting
72 72
73 #endif // REMOTING_BASE_DECODER_ROW_BASED_H_ 73 #endif // REMOTING_BASE_DECODER_ROW_BASED_H_
OLDNEW
« no previous file with comments | « remoting/base/compressor_zlib.h ('k') | remoting/base/decompressor_verbatim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698