summaryrefslogtreecommitdiffstats
path: root/net/base/platform_mime_util_linux.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix a Style Guide nit: include platform_mime_util.h first.wtc@chromium.org2011-02-251-1/+2
| | | | | | | | | | R=eroman BUG=none TEST=no compilation errors. Review URL: http://codereview.chromium.org/6578038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76019 0039d316-1c4b-4281-b951-d872f2087c98
* Make chrome aware of text/x-sh mime type.estade@chromium.org2010-09-301-4/+5
| | | | | | | | | | | Map it to .sh, also mark it as executable. Either one of these fixes alone would take care of this bug, but 2 fixes are better than 1! BUG=56855 TEST=manual (see bug) Review URL: http://codereview.chromium.org/3557003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61075 0039d316-1c4b-4281-b951-d872f2087c98
* Adding some known mime types to the platform_mime_utils on linux. This ↵dhg@chromium.org2010-05-181-0/+29
| | | | | | | | | | might not be a perfect solution right now, but its a simple stopgap. BUG=chromium-os:3242 TEST=none Review URL: http://codereview.chromium.org/2077006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47549 0039d316-1c4b-4281-b951-d872f2087c98
* Linux download shelf icons first cut.estade@chromium.org2009-05-201-2/+2
| | | | | | | | | Nor do we have support for alternate file formats; nor do we have a default icon. BUG=http://crbug.com/8631 Review URL: http://codereview.chromium.org/113571 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16444 0039d316-1c4b-4281-b951-d872f2087c98
* Add a temporary hack to not resolve the mime type for .pl files to fix a ↵thestig@chromium.org2009-05-161-2/+7
| | | | | | | | | | | layout test. Remove a NOTIMPLEMENTED that was breaking layout tests. TBR=estade Review URL: http://codereview.chromium.org/113500 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16233 0039d316-1c4b-4281-b951-d872f2087c98
* Override .ico file's mime type on Linux. XDG's mime database has a bogus ↵thestig@chromium.org2009-05-161-0/+10
| | | | | | | | | "image/x-ico" entry whereas the rest of the world uses "image/x-icon". TBR=estade Review URL: http://codereview.chromium.org/115440 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16231 0039d316-1c4b-4281-b951-d872f2087c98
* Add xdg mime support on Linux.thestig@chromium.org2009-05-161-11/+11
| | | | | | | BUG=10049 Review URL: http://codereview.chromium.org/113168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16227 0039d316-1c4b-4281-b951-d872f2087c98
* Change mime type utils to operate on platform-specific string types for ↵estade@chromium.org2009-02-141-2/+2
| | | | | | | | 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
* Get MIME stuff working minimally to the point where we haveerg@google.com2008-09-081-0/+40
unit tests passing. B=1315 Review URL: http://codereview.chromium.org/1824 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1866 0039d316-1c4b-4281-b951-d872f2087c98