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

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

Issue 10905284: Use the user's preferred downloads directory for creating the initial download file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows path check Created 8 years, 3 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/base_file_unittest.cc ('k') | content/browser/download/download_file_impl.h » ('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 9c5e11f5e3aae88d106c723fa657ea7e11ae2a57..4e0cc3f6fce5fa96077179fc80454b67370986fa 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -107,6 +107,13 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// The handle to the URLRequest sourcing this download.
DownloadRequestHandle request_handle;
+ // Default directory to use for this download. The final target path may not
+ // be determined until much later. In the meantime, this directory (if
+ // non-empty) should be used to store teh download file.
+ // TODO(asanka,rdsmith): Get rid of this when we start creating the
+ // DownloadFile on the UI thread.
+ FilePath default_download_directory;
+
// The request's |BoundNetLog|, for "source_dependency" linking with the
// download item's.
const net::BoundNetLog request_bound_net_log;
« no previous file with comments | « content/browser/download/base_file_unittest.cc ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698