Index: chrome/browser/history/download_types.h |
=================================================================== |
--- chrome/browser/history/download_types.h (revision 2758) |
+++ chrome/browser/history/download_types.h (working copy) |
@@ -37,7 +37,8 @@ |
render_view_id(-1), |
request_id(-1), |
db_handle(0), |
- save_as(false) { |
+ save_as(false), |
+ is_dangerous(false) { |
} |
DownloadCreateInfo() : download_id(-1) {} |
@@ -59,6 +60,10 @@ |
std::string content_disposition; |
std::string mime_type; |
bool save_as; |
+ // Whether this download is potentially dangerous (ex: exe, dll, ...). |
+ bool is_dangerous; |
+ // The original name for a dangerous download. |
+ std::wstring original_name; |
}; |
#endif // CHROME_BROWSER_DOWNLOAD_TYPES_H__ |