diff options
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/webkit_glue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 1826876..ca30d3a 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -153,7 +153,8 @@ bool GetMimeTypeFromExtension(const std::wstring& ext, std::string* mime_type); bool GetMimeTypeFromFile(const std::wstring& file_path, std::string* mime_type); // Get the preferred extension (if any) associated with the given mime type. -// Returns true if a corresponding file extension exists. +// Returns true if a corresponding file extension exists. The extension does +// not include a prefixed dot, ex "html". bool GetPreferredExtensionForMimeType(const std::string& mime_type, std::wstring* ext); |