| Index: net/base/mime_util.cc
|
| diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
|
| index cba37a452b78662f3304120741f1ad840046010c..d1b67d580e2713c8a7baf16d3d432bda18001f12 100644
|
| --- a/net/base/mime_util.cc
|
| +++ b/net/base/mime_util.cc
|
| @@ -25,27 +25,6 @@
|
|
|
| using std::string;
|
|
|
| -namespace {
|
| -
|
| -struct MediaType {
|
| - const char name[12];
|
| - const char matcher[13];
|
| -};
|
| -
|
| -static const MediaType kIanaMediaTypes[] = {
|
| - { "application", "application/" },
|
| - { "audio", "audio/" },
|
| - { "example", "example/" },
|
| - { "image", "image/" },
|
| - { "message", "message/" },
|
| - { "model", "model/" },
|
| - { "multipart", "multipart/" },
|
| - { "text", "text/" },
|
| - { "video", "video/" },
|
| -};
|
| -
|
| -} // namespace
|
| -
|
| namespace net {
|
|
|
| // Singleton utility class for mime types.
|
| @@ -1364,15 +1343,6 @@ void RemoveProprietaryMediaTypesAndCodecsForTests() {
|
| g_mime_util.Get().RemoveProprietaryMediaTypesAndCodecsForTests();
|
| }
|
|
|
| -const std::string GetIANAMediaType(const std::string& mime_type) {
|
| - for (size_t i = 0; i < arraysize(kIanaMediaTypes); ++i) {
|
| - if (StartsWithASCII(mime_type, kIanaMediaTypes[i].matcher, true)) {
|
| - return kIanaMediaTypes[i].name;
|
| - }
|
| - }
|
| - return std::string();
|
| -}
|
| -
|
| CertificateMimeType GetCertificateMimeTypeForMimeType(
|
| const std::string& mime_type) {
|
| // Don't create a map, there is only one entry in the table,
|
|
|