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

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

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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: trunk/src/media/cast/video_receiver/video_decoder.h
===================================================================
--- trunk/src/media/cast/video_receiver/video_decoder.h (revision 226266)
+++ trunk/src/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);

Powered by Google App Engine
This is Rietveld 408576698