Chromium Code Reviews| Index: net/base/mime_util.h |
| diff --git a/net/base/mime_util.h b/net/base/mime_util.h |
| index 9662e9656e397de2d48adedbfae590a3249ff4a7..b042390c676de8362da357f3a43940a98c41a413 100644 |
| --- a/net/base/mime_util.h |
| +++ b/net/base/mime_util.h |
| @@ -85,6 +85,14 @@ NET_EXPORT bool IsSupportedStrictMediaMimeType( |
| const std::string& mime_type, |
| const std::vector<std::string>& codecs); |
| +// Check to see if the particular mp4 MIME type is in our list which only |
| +// supports certain subset of H.264 codecs. Returns true if and only if all the |
|
ddorwin
2014/04/29 17:12:54
The comment only mentions H.264 (should be "avc1"?
amogh.bihani
2014/04/30 06:12:10
Done.
|
| +// codecs are supported for the specific MIME type and the codecs are RFC6381 |
| +// compliant. |
| +NET_EXPORT bool IsSupportedStrictMP4MediaMimeType( |
| + const std::string& mime_type, |
| + const std::vector<std::string>& codecs); |
| + |
| // Get the extensions associated with the given mime type. This should be passed |
| // in lower case. There could be multiple extensions for a given mime type, like |
| // "html,htm" for "text/html", or "txt,text,html,..." for "text/*". |