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

Unified Diff: remoting/codec/video_decoder_row_based.h

Issue 10873047: Renamed Decoder -> VideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: remoting/codec/video_decoder_row_based.h
diff --git a/remoting/codec/video_decoder_row_based.h b/remoting/codec/video_decoder_row_based.h
index 258809d330153e63b5ce7e8acad6144c2fe1e17c..3e017e3ab81d7ca92dc7548ad72e0e99c0f00136 100644
--- a/remoting/codec/video_decoder_row_based.h
+++ b/remoting/codec/video_decoder_row_based.h
@@ -13,14 +13,14 @@ namespace remoting {
class Decompressor;
-class DecoderRowBased : public Decoder {
+class VideoDecoderRowBased : public VideoDecoder {
public:
- virtual ~DecoderRowBased();
+ virtual ~VideoDecoderRowBased();
- static DecoderRowBased* CreateZlibDecoder();
- static DecoderRowBased* CreateVerbatimDecoder();
+ static VideoDecoderRowBased* CreateZlibDecoder();
+ static VideoDecoderRowBased* CreateVerbatimDecoder();
- // Decoder implementation.
+ // VideoDecoder implementation.
virtual bool IsReadyForData() OVERRIDE;
virtual void Initialize(const SkISize& screen_size) OVERRIDE;
virtual DecodeResult DecodePacket(const VideoPacket* packet) OVERRIDE;
@@ -43,8 +43,8 @@ class DecoderRowBased : public Decoder {
kError,
};
- DecoderRowBased(Decompressor* decompressor,
- VideoPacketFormat::Encoding encoding);
+ VideoDecoderRowBased(Decompressor* decompressor,
+ VideoPacketFormat::Encoding encoding);
// Helper method. Called from DecodePacket to updated state of the decoder.
void UpdateStateForPacket(const VideoPacket* packet);
@@ -76,7 +76,7 @@ class DecoderRowBased : public Decoder {
// The bitmap holding the remote screen bits.
scoped_array<uint8> screen_buffer_;
- DISALLOW_COPY_AND_ASSIGN(DecoderRowBased);
+ DISALLOW_COPY_AND_ASSIGN(VideoDecoderRowBased);
};
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698