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

Unified Diff: media/base/filters.h

Issue 3743001: FBTF: Fix more ctor/dtors found by clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Rebase to pick up mac fix on ToT Created 10 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
« no previous file with comments | « gpu/command_buffer/service/shader_manager.cc ('k') | media/base/filters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filters.h
diff --git a/media/base/filters.h b/media/base/filters.h
index 65a33ee65e66f1dd21659d60996df97959032e59..d9edfc1f6d82ec3be4f865fdb0dae97df83b4caf 100644
--- a/media/base/filters.h
+++ b/media/base/filters.h
@@ -270,6 +270,9 @@ class VideoDecoder : public MediaFilter {
consume_video_frame_callback_->Run(frame);
}
+ VideoDecoder();
+ virtual ~VideoDecoder();
+
private:
scoped_ptr<ConsumeVideoFrameCallback> consume_video_frame_callback_;
};
@@ -309,6 +312,10 @@ class AudioDecoder : public MediaFilter {
// We could also pass empty pointer here to let decoder provide buffers pool.
virtual void ProduceAudioSamples(scoped_refptr<Buffer> buffer) = 0;
+ protected:
+ AudioDecoder();
+ ~AudioDecoder();
+
private:
scoped_ptr<ConsumeAudioSamplesCallback> consume_audio_samples_callback_;
};
« no previous file with comments | « gpu/command_buffer/service/shader_manager.cc ('k') | media/base/filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698