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

Unified Diff: Source/platform/ContentType.cpp

Issue 1283573002: Do the codec string parsing for MSE in media, instead of Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | « Source/platform/ContentType.h ('k') | public/platform/WebMediaSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/ContentType.cpp
diff --git a/Source/platform/ContentType.cpp b/Source/platform/ContentType.cpp
index dee67f7d1b330e54907feef43f57601f85e83fa8..e21536d3a345c9ffd6fa58be6e3bedf81d2b5978 100644
--- a/Source/platform/ContentType.cpp
+++ b/Source/platform/ContentType.cpp
@@ -76,19 +76,4 @@ String ContentType::type() const
return strippedType;
}
-Vector<String> ContentType::codecs() const
-{
- String codecsParameter = parameter("codecs");
-
- if (codecsParameter.isEmpty())
- return Vector<String>();
-
- Vector<String> codecs;
- codecsParameter.split(',', codecs);
- for (size_t i = 0; i < codecs.size(); ++i)
- codecs[i] = codecs[i].simplifyWhiteSpace();
-
- return codecs;
-}
-
} // namespace blink
« no previous file with comments | « Source/platform/ContentType.h ('k') | public/platform/WebMediaSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698