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

Unified Diff: content/browser/download/download_types.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 | « content/browser/download/download_state_info.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_types.h
diff --git a/content/browser/download/download_types.h b/content/browser/download/download_types.h
index f8c3343accba025b294d4a9c51d7b06b75b6e391..f3f72cd85f244d595c3a10a278e9d15b84f00ef5 100644
--- a/content/browser/download/download_types.h
+++ b/content/browser/download/download_types.h
@@ -19,14 +19,18 @@ struct CONTENT_EXPORT DownloadSaveInfo {
DownloadSaveInfo();
~DownloadSaveInfo();
- // This is usually the tentative final name, but not during resumption
- // where it will be the intermediate file name.
+ // If non-empty, contains the full target path of the download that has been
+ // determined prior to download initiation. This is considered to be a trusted
+ // path.
FilePath file_path;
- linked_ptr<net::FileStream> file_stream;
-
+ // If non-empty, contains an untrusted filename suggestion. This can't contain
+ // a path (only a filename), and is only effective if |file_path| is empty.
string16 suggested_name;
+ // If non-NULL, contains the source data stream for the file contents.
+ linked_ptr<net::FileStream> file_stream;
+
// The file offset at which to start the download. May be 0.
int64 offset;
« no previous file with comments | « content/browser/download/download_state_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698