diff options
Diffstat (limited to 'chrome/browser/download/download_util.h')
-rw-r--r-- | chrome/browser/download/download_util.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h index 376fc18..707dc07 100644 --- a/chrome/browser/download/download_util.h +++ b/chrome/browser/download/download_util.h @@ -64,7 +64,11 @@ void GenerateExtension(const FilePath& file_name, void GenerateFileNameFromInfo(DownloadCreateInfo* info, FilePath* generated_name); -// Create a file name based on the response from the server. +void GenerateFileNameFromSuggestedName(const GURL& url, + const std::string& suggested_name, + const std::string& mime_type, + FilePath* generated_name); + void GenerateFileName(const GURL& url, const std::string& content_disposition, const std::string& referrer_charset, |