summaryrefslogtreecommitdiffstats
path: root/net/base/mime_util.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add mpeg audio mime type allowing mp3 to play with chrome on more websites.fbarchard@chromium.org2009-12-031-0/+1
| | | | | | | | | BUG=29288 TEST=play this file: http://www.louderproductions.com/mp3/Killshot.mp3 and make sure controls work. Review URL: http://codereview.chromium.org/455044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33710 0039d316-1c4b-4281-b951-d872f2087c98
* Display application/json files inline.thestig@chromium.org2009-11-181-0/+1
| | | | | | | | BUG=27884 TEST=see bug. Review URL: http://codereview.chromium.org/385148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32375 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the <keygen> tag for client certificate enrollmentwtc@chromium.org2009-10-231-0/+1
| | | | | | | | | | | | | | | | under Linux. Currently, no notifications are given to the user that the certificate was successfully enrolled. Patch by Gaurav Shah <gauravsh@chromium.org> of Google. Original review URL: http://codereview.chromium.org/261035 BUG=148 TEST=Can test on the following sites: http://foaf.me/simple_KEYGEN_CreateClientCertificate.php http://www.myopenid.com Review URL: http://codereview.chromium.org/271112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29900 0039d316-1c4b-4281-b951-d872f2087c98
* Move FTP LIST parsing code to the renderer process.phajdan.jr@chromium.org2009-09-221-0/+1
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/210027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26860 0039d316-1c4b-4281-b951-d872f2087c98
* Try one more time to lock down content sniffing foraa@chromium.org2009-08-251-1/+2
| | | | | | | | | | | | | | | | | | Chrome extensions. Last time I tried to check this in, I had to roll it back because it made installing extensions from file:// URLs not work. Turned out that we just have to add a single line mapping the ".crx" extension to our mimetype. BUG=13296 TEST=Install an extension from the interweb, it should install. Install an extension from disk, it should install. Review URL: http://codereview.chromium.org/174380 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24216 0039d316-1c4b-4281-b951-d872f2087c98
* add application/ogg mime typefbarchard@chromium.org2009-08-031-0/+1
| | | | | | | | | BUG=18000 TEST=unknown which websites this affects. ask andrew who reported the bug. Review URL: http://codereview.chromium.org/159683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22275 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented rest of webkit api/glue code needed for HTML5 media canPlayType().scherkus@chromium.org2009-07-251-0/+33
| | | | | | | | | | BUG=16636 TEST=we should respect the codecs= parameter when provided as a media mime type Review URL: http://codereview.chromium.org/160073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21607 0039d316-1c4b-4281-b951-d872f2087c98
* Updated media MIME type handling for Chrome and Chromium.scherkus@chromium.org2009-07-251-9/+2
| | | | | | | | | | | | This might break some layout tests, but that's ok -- we'll disable them for now. BUG=16636,16779 TEST=none Review URL: http://codereview.chromium.org/160125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21596 0039d316-1c4b-4281-b951-d872f2087c98
* mp4 types in omnibox only for chrome, not chromiumfbarchard@chromium.org2009-07-221-0/+3
| | | | | | | | | | | | The types are still claimed as supported because layout tests require them, but the extensions will not map to mimetypes, so typing them into the omnibox will download instead of trying to play the video. The fixes for canPlayType that kyle is doing will fix some of this, and we'll also need to update the media in the layouttests. So that portion of mimetype will be deferred BUG=17323 TEST=in the omni box type in the name of an mp4 and it should work in chrome, but not in chromium. Review URL: http://codereview.chromium.org/155835 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21261 0039d316-1c4b-4281-b951-d872f2087c98
* Add codec parsing capability to MimeUtilkylep@chromium.org2009-07-171-0/+24
| | | | | | | | BUG=16636 TEST=mime_util_unittest.cc Review URL: http://codereview.chromium.org/149761 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21021 0039d316-1c4b-4281-b951-d872f2087c98
* Add mpeg for layouttests to pass. The following media layout tests fail if ↵fbarchard@chromium.org2009-07-071-0/+5
| | | | | | | | | | | | | mpeg (ie mpg) is not supported. LayoutTests/media/video-source-add-src.html = FAIL LayoutTests/media/video-source-error.html = FAIL LayoutTests/media/video-source-type-params.html = FAIL LayoutTests/media/video-source-type.html = FAIL Review URL: http://codereview.chromium.org/149241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20011 0039d316-1c4b-4281-b951-d872f2087c98
* OGG and OGV added to supported media types for omnibox, href and command line.fbarchard@chromium.org2009-07-071-14/+12
| | | | | | Review URL: http://codereview.chromium.org/149228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20008 0039d316-1c4b-4281-b951-d872f2087c98
* Say we support mime-type audio/mpeg and video/mpeghclam@chromium.org2009-07-011-0/+4
| | | | | | | | | | Mark these two mime-types as supported: audio/mpeg video/mpeg Review URL: http://codereview.chromium.org/150047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19760 0039d316-1c4b-4281-b951-d872f2087c98
* Included text/css content type into list of the supported non image files. abarth@chromium.org2009-06-121-3/+9
| | | | | | | | | | | | | | | | | | Now css files are opened inside browser instead of download. Also - making lint happy on the mime_util.cc BUG=7192 R=abarth TEST=MimeTypeTests.MimeTypeTests Patch by Yuri Gorobets. Original review URL: http://codereview.chromium.org/125005 Review URL: http://codereview.chromium.org/125058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18306 0039d316-1c4b-4281-b951-d872f2087c98
* Handle mimetype queries for media fileshclam@chromium.org2009-05-291-2/+40
| | | | | | | | | | Added code path from WebKit to net::mimt_util to query supported mime-types for media files. BUG=12777 Review URL: http://codereview.chromium.org/114060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17225 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for progressive JPEGs with MIME type image/pjpeg. Fixes Issue 2104.jon@chromium.org2009-03-191-0/+1
| | | | | | Review URL: http://codereview.chromium.org/42424 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12168 0039d316-1c4b-4281-b951-d872f2087c98
* Slight code change to make some global variables const.maruel@google.com2009-03-101-9/+12
| | | | | | | Fix >80 cols lines. Review URL: http://codereview.chromium.org/42013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11342 0039d316-1c4b-4281-b951-d872f2087c98
* Change mime type utils to operate on platform-specific string types for ↵estade@chromium.org2009-02-141-16/+18
| | | | | | | | filenames/file extensions. Review URL: http://codereview.chromium.org/21327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9809 0039d316-1c4b-4281-b951-d872f2087c98
* We should download text/csv mime types instead of displaying them.abarth@chromium.org2009-01-221-6/+3
| | | | | | | | | BUG=6079 R=darin Review URL: http://codereview.chromium.org/18349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8448 0039d316-1c4b-4281-b951-d872f2087c98
* revert 8087abarth@chromium.org2009-01-151-3/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8088 0039d316-1c4b-4281-b951-d872f2087c98
* We should download text/csv mime types instead of displaying them.abarth@chromium.org2009-01-151-6/+3
| | | | | | | | | BUG=6079 R=darin Review URL: http://codereview.chromium.org/18086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8087 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Remove warnings for the net module.rvargas@google.com2008-08-191-5/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1067 0039d316-1c4b-4281-b951-d872f2087c98
* Add mime_util and http_chunked_decoder to mac project.ericroman@google.com2008-08-191-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1041 0039d316-1c4b-4281-b951-d872f2087c98
* Add a stubbed-out platform_mime_util_mac.mmericroman@google.com2008-08-101-4/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@636 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor mime_util into a singleton.ericroman@google.com2008-08-091-43/+107
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@626 0039d316-1c4b-4281-b951-d872f2087c98
* Break out windows specific parts of mime_util.cc into mime_util_win.ccericroman@google.com2008-08-081-17/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@582 0039d316-1c4b-4281-b951-d872f2087c98
* Move some more classes from net/base into the net:: namespace.darin@google.com2008-07-301-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116 0039d316-1c4b-4281-b951-d872f2087c98
* Add net to the repository.initial.commit2008-07-261-0/+305
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14 0039d316-1c4b-4281-b951-d872f2087c98