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

Unified Diff: media/base/filters.cc

Issue 4653005: Move FilterType into MediaFilterCollection (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed windows build buster & presubmit check failure Created 10 years, 1 month 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/filters.h ('k') | media/base/media_filter_collection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filters.cc
diff --git a/media/base/filters.cc b/media/base/filters.cc
index 0773b89b3ea508ad0ef4700c8755ff81d424636e..100af783a66f1b594f11b48d3eea388be18bc444 100644
--- a/media/base/filters.cc
+++ b/media/base/filters.cc
@@ -93,14 +93,6 @@ bool DataSource::IsUrlSupported(const std::string& url) {
return true;
}
-FilterType DataSource::filter_type() const {
- return static_filter_type();
-}
-
-FilterType Demuxer::filter_type() const {
- return static_filter_type();
-}
-
bool Demuxer::requires_message_loop() const {
return true;
}
@@ -109,10 +101,6 @@ const char* Demuxer::message_loop_name() const {
return "DemuxerThread";
}
-FilterType AudioDecoder::filter_type() const {
- return static_filter_type();
-}
-
const char* AudioDecoder::major_mime_type() const {
return mime_type::kMajorTypeAudio;
}
@@ -125,18 +113,10 @@ const char* AudioDecoder::message_loop_name() const {
return "AudioDecoderThread";
}
-FilterType AudioRenderer::filter_type() const {
- return static_filter_type();
-}
-
const char* AudioRenderer::major_mime_type() const {
return mime_type::kMajorTypeAudio;
}
-FilterType VideoDecoder::filter_type() const {
- return static_filter_type();
-}
-
const char* VideoDecoder::major_mime_type() const {
return mime_type::kMajorTypeVideo;
}
@@ -149,10 +129,6 @@ const char* VideoDecoder::message_loop_name() const {
return "VideoDecoderThread";
}
-FilterType VideoRenderer::filter_type() const {
- return static_filter_type();
-}
-
const char* VideoRenderer::major_mime_type() const {
return mime_type::kMajorTypeVideo;
}
« no previous file with comments | « media/base/filters.h ('k') | media/base/media_filter_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698