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

Unified Diff: media/cast/video_receiver/video_decoder.h

Issue 25604007: Revert 226305 "Fix code style and gyp files in cast to build cas..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1658/src/
Patch Set: Created 7 years, 2 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: media/cast/video_receiver/video_decoder.h
===================================================================
--- media/cast/video_receiver/video_decoder.h (revision 226456)
+++ media/cast/video_receiver/video_decoder.h (working copy)
@@ -21,7 +21,9 @@
public:
VideoDecoder(scoped_refptr<CastThread> cast_thread,
const VideoReceiverConfig& video_config);
+ ~VideoDecoder();
+
// Decode a video frame. Decoded (raw) frame will be returned in the
// frame_decoded_callback.
void DecodeVideoFrame(const EncodedVideoFrame* encoded_frame,
@@ -29,12 +31,7 @@
const VideoFrameDecodedCallback& frame_decoded_callback,
base::Closure frame_release_callback);
- protected:
- virtual ~VideoDecoder();
-
private:
- friend class base::RefCountedThreadSafe<VideoDecoder>;
-
void DecodeFrame(const EncodedVideoFrame* encoded_frame,
const base::TimeTicks render_time,
const VideoFrameDecodedCallback& frame_decoded_callback);
« no previous file with comments | « media/cast/video_receiver/codecs/vp8/vp8_decoder.cc ('k') | media/cast/video_receiver/video_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698