Separate mimetype and file extension mapping API from WebKit/blackberry/Api/WebKitTex...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 21:16:52 +0000 (21:16 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 21:16:52 +0000 (21:16 +0000)
commitfaaab6c68f21072bc408141f2901748b8f0c1dce
tree8552a25c577f1b64e0dc0550740d986c62b93b70
parent01ee2a29454bc3b6134402ea6fb593cd2bd2ab34
Separate mimetype and file extension mapping API from WebKit/blackberry/Api/WebKitTextCodec and complete it.
https://bugs.webkit.org/show_bug.cgi?id=78605

Patch by Lianghui Chen <liachen@rim.com> on 2012-02-14
Reviewed by Rob Buis.

Now the MIME type and file extension mapping API are in WebKitMIMETypeConverter.

* blackberry/Api/WebKitMIMETypeConverter.cpp: Added.
(WebKit):
(BlackBerry::WebKit::getExtensionForMimeType):
(BlackBerry::WebKit::getMimeTypeForExtension):
* blackberry/Api/WebKitMIMETypeConverter.h: Added.
(WebKit):
* blackberry/Api/WebKitTextCodec.cpp:
* blackberry/Api/WebKitTextCodec.h:
* blackberry/CMakeListsBlackBerry.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/blackberry/Api/WebKitMIMETypeConverter.cpp [new file with mode: 0644]
Source/WebKit/blackberry/Api/WebKitMIMETypeConverter.h [new file with mode: 0644]
Source/WebKit/blackberry/Api/WebKitTextCodec.cpp
Source/WebKit/blackberry/Api/WebKitTextCodec.h
Source/WebKit/blackberry/CMakeListsBlackBerry.txt