| Index: chrome/browser/history/download_types.h
|
| diff --git a/chrome/browser/history/download_types.h b/chrome/browser/history/download_types.h
|
| index 4db21e4104330d2da9d5f80726701b5cd481f579..642ac5bd7d5bbc6405ba1d857f0918381257051a 100644
|
| --- a/chrome/browser/history/download_types.h
|
| +++ b/chrome/browser/history/download_types.h
|
| @@ -39,7 +39,7 @@ struct DownloadCreateInfo {
|
| render_view_id(-1),
|
| request_id(-1),
|
| db_handle(0),
|
| - save_as(false),
|
| + prompt_user_for_save_location(false),
|
| is_dangerous(false),
|
| is_extension_install(false) {
|
| }
|
| @@ -54,7 +54,7 @@ struct DownloadCreateInfo {
|
| render_view_id(-1),
|
| request_id(-1),
|
| db_handle(0),
|
| - save_as(false),
|
| + prompt_user_for_save_location(false),
|
| is_dangerous(false),
|
| is_extension_install(false) {
|
| }
|
| @@ -82,7 +82,12 @@ struct DownloadCreateInfo {
|
| // may be different from |mime_type|, which may be set based on heuristics
|
| // which may look at the file extension and first few bytes of the file.
|
| std::string original_mime_type;
|
| - bool save_as;
|
| +
|
| + // True if we should display the 'save as...' UI and prompt the user
|
| + // for the download location.
|
| + // False if the UI should be supressed and the download performed to the
|
| + // default location.
|
| + bool prompt_user_for_save_location;
|
| // Whether this download is potentially dangerous (ex: exe, dll, ...).
|
| bool is_dangerous;
|
| // The original name for a dangerous download.
|
|
|