diff options
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 44dc8a4..aca3250 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -164,17 +164,18 @@ void AppendToLog(const char* filename, int line, const char* message); // Get the mime type (if any) that is associated with the given file extension. // Returns true if a corresponding mime type exists. -bool GetMimeTypeFromExtension(const std::wstring& ext, std::string* mime_type); +bool GetMimeTypeFromExtension(const FilePath::StringType& ext, + std::string* mime_type); // Get the mime type (if any) that is associated with the given file. // Returns true if a corresponding mime type exists. -bool GetMimeTypeFromFile(const std::wstring& file_path, std::string* mime_type); +bool GetMimeTypeFromFile(const FilePath& 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. The extension does // not include a prefixed dot, ex "html". bool GetPreferredExtensionForMimeType(const std::string& mime_type, - std::wstring* ext); + FilePath::StringType* ext); // Sets a cookie string for the given URL. The policy_url argument indicates // the URL of the topmost frame, which may be useful for determining whether or |