diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 00:24:39 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 00:24:39 +0000 |
commit | dcefa305312e7045cce1ec6bc746a4ba26dec871 (patch) | |
tree | 7fbea6592ac6d4c59cc456227a3d5195818a7679 /base/mime_util.h | |
parent | cf2a4e4fe2c337c2c4bf4f14443fc2cbb3f6e2d9 (diff) | |
download | chromium_src-dcefa305312e7045cce1ec6bc746a4ba26dec871.zip chromium_src-dcefa305312e7045cce1ec6bc746a4ba26dec871.tar.gz chromium_src-dcefa305312e7045cce1ec6bc746a4ba26dec871.tar.bz2 |
Linux download shelf icons first cut.
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
Diffstat (limited to 'base/mime_util.h')
-rw-r--r-- | base/mime_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/mime_util.h b/base/mime_util.h index 850613b..47c5975 100644 --- a/base/mime_util.h +++ b/base/mime_util.h @@ -15,7 +15,7 @@ namespace mime_util { // have to exist. Please note because it doesn't touch the disk, this does not // work for directories. // If the mime type is unknown, this will return application/octet-stream. -std::string GetFileMimeType(const std::string& file_path); +std::string GetFileMimeType(const FilePath& filepath); // Gets the file name for an icon given the mime type and icon pixel size. // Where an icon is a square image of |size| x |size|. |