equal
deleted
inserted
replaced
31 #include <wtf/HashSet.h> |
31 #include <wtf/HashSet.h> |
32 #include <wtf/Vector.h> |
32 #include <wtf/Vector.h> |
33 |
33 |
34 namespace WebCore { |
34 namespace WebCore { |
35 |
35 |
|
36 void cleanupMimeTypes(); |
|
37 |
36 class MIMETypeRegistry { |
38 class MIMETypeRegistry { |
37 public: |
39 public: |
38 static String getMIMETypeForExtension(const String& ext); |
40 static String getMIMETypeForExtension(const String& ext); |
39 static Vector<String> getExtensionsForMIMEType(const String& type); |
41 static Vector<String> getExtensionsForMIMEType(const String& type); |
40 static String getPreferredExtensionForMIMEType(const String& type); |
42 static String getPreferredExtensionForMIMEType(const String& type); |