Index: chrome/browser/download/download_util.h |
=================================================================== |
--- chrome/browser/download/download_util.h (revision 85826) |
+++ chrome/browser/download/download_util.h (working copy) |
@@ -64,7 +64,11 @@ |
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, |