summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-18 10:54:29 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-18 10:54:29 +0000
commit73f6547f0262578a96ab478c5d9e7f841e39d13e (patch)
treeb41320df4b78ee5b54e1bb5306eacf2f1726cf9b /chrome/browser/history
parente6be47fb2071a5b0e1859eb014cde64f6c78eb5a (diff)
downloadchromium_src-73f6547f0262578a96ab478c5d9e7f841e39d13e.zip
chromium_src-73f6547f0262578a96ab478c5d9e7f841e39d13e.tar.gz
chromium_src-73f6547f0262578a96ab478c5d9e7f841e39d13e.tar.bz2
Revert r52848 - Linux x64 compile failure.
Review URL: http://codereview.chromium.org/3012008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history')
-rw-r--r--chrome/browser/history/download_types.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/chrome/browser/history/download_types.h b/chrome/browser/history/download_types.h
index 642ac5b..4db21e4 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),
- prompt_user_for_save_location(false),
+ save_as(false),
is_dangerous(false),
is_extension_install(false) {
}
@@ -54,7 +54,7 @@ struct DownloadCreateInfo {
render_view_id(-1),
request_id(-1),
db_handle(0),
- prompt_user_for_save_location(false),
+ save_as(false),
is_dangerous(false),
is_extension_install(false) {
}
@@ -82,12 +82,7 @@ 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;
-
- // 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;
+ bool save_as;
// Whether this download is potentially dangerous (ex: exe, dll, ...).
bool is_dangerous;
// The original name for a dangerous download.