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

Unified Diff: media/filters/ffmpeg_glue.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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
« no previous file with comments | « media/base/demuxer.h ('k') | media/video/capture/video_capture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_glue.h
diff --git a/media/filters/ffmpeg_glue.h b/media/filters/ffmpeg_glue.h
index 4e122a6ef550e0498a3fd0e9f4ab3494f6123003..c5aa15c2ad8220dc0e3dfd2a3fcfda9b3ae70edc 100644
--- a/media/filters/ffmpeg_glue.h
+++ b/media/filters/ffmpeg_glue.h
@@ -41,8 +41,6 @@ class MEDIA_EXPORT FFmpegURLProtocol {
public:
FFmpegURLProtocol() {}
- virtual ~FFmpegURLProtocol() {}
-
// Read the given amount of bytes into data, returns the number of bytes read
// if successful, kReadError otherwise.
virtual size_t Read(size_t size, uint8* data) = 0;
@@ -61,6 +59,9 @@ class MEDIA_EXPORT FFmpegURLProtocol {
// Returns false if this protocol supports random seeking.
virtual bool IsStreaming() = 0;
+ protected:
+ virtual ~FFmpegURLProtocol() {}
+
private:
DISALLOW_COPY_AND_ASSIGN(FFmpegURLProtocol);
};
« no previous file with comments | « media/base/demuxer.h ('k') | media/video/capture/video_capture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698