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

Unified Diff: content/browser/download/download_create_info.h

Issue 9351024: Clean up unused members and constructors from DownloadCreateInfo and DownloadSaveInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyright 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
« no previous file with comments | « no previous file | content/browser/download/download_create_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_create_info.h
diff --git a/content/browser/download/download_create_info.h b/content/browser/download/download_create_info.h
index 79a3dbd62d654d0f65a8bdab0272f5f6eae8d3f4..86ca8d4f67aed59251c8514d5387eaabb2d50b3f 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -23,9 +23,7 @@
// Used for informing the download manager of a new download, since we don't
// want to pass |DownloadItem|s between threads.
struct CONTENT_EXPORT DownloadCreateInfo {
- DownloadCreateInfo(const FilePath& path,
- const GURL& url,
- const base::Time& start_time,
+ DownloadCreateInfo(const base::Time& start_time,
int64 received_bytes,
int64 total_bytes,
int32 state,
@@ -41,10 +39,6 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// redirection by the server for |url_chain|.
const GURL& url() const;
- // DownloadItem fields
- // The path where we want to save the download file.
- FilePath path;
-
// The chain of redirects that leading up to and including the final URL.
std::vector<GURL> url_chain;
@@ -99,9 +93,6 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// default location.
bool prompt_user_for_save_location;
- // The original name for a dangerous download.
- FilePath original_name;
-
// The charset of the referring page where the download request comes from.
// It's used to construct a suggested filename.
std::string referrer_charset;
« no previous file with comments | « no previous file | content/browser/download/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698