Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: content/browser/download/download_state_info.cc

Issue 9351024: Clean up unused members and constructors from DownloadCreateInfo and DownloadSaveInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_state_info.cc
diff --git a/content/browser/download/download_state_info.cc b/content/browser/download/download_state_info.cc
index dd26812317dfbef49c74439ff061fe6e1d52b3c9..92c792fdd209220a2c99b30f256c5d52cb3e1ffc 100644
--- a/content/browser/download/download_state_info.cc
+++ b/content/browser/download/download_state_info.cc
@@ -14,25 +14,12 @@ DownloadStateInfo::DownloadStateInfo()
danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
}
-DownloadStateInfo::DownloadStateInfo(
- bool has_user_gesture,
- bool prompt_user_for_save_location)
+DownloadStateInfo::DownloadStateInfo(const FilePath& forced_name,
+ bool has_user_gesture,
+ content::PageTransition transition_type,
+ bool prompt_user_for_save_location)
: path_uniquifier(0),
has_user_gesture(has_user_gesture),
- transition_type(content::PAGE_TRANSITION_LINK),
- prompt_user_for_save_location(prompt_user_for_save_location),
- danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
-}
-
-DownloadStateInfo::DownloadStateInfo(
- const FilePath& target,
- const FilePath& forced_name,
- bool has_user_gesture,
- content::PageTransition transition_type,
- bool prompt_user_for_save_location)
- : target_name(target),
- path_uniquifier(0),
- has_user_gesture(has_user_gesture),
transition_type(transition_type),
prompt_user_for_save_location(prompt_user_for_save_location),
danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS),

Powered by Google App Engine
This is Rietveld 408576698