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

Side by Side Diff: content/browser/download/download_create_info.h

Issue 10912173: Replace the DownloadFileManager with direct ownership of DownloadFileImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR (r162700) Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // The download file save info. 100 // The download file save info.
101 scoped_ptr<content::DownloadSaveInfo> save_info; 101 scoped_ptr<content::DownloadSaveInfo> save_info;
102 102
103 // The remote IP address where the download was fetched from. Copied from 103 // The remote IP address where the download was fetched from. Copied from
104 // UrlRequest::GetSocketAddress(). 104 // UrlRequest::GetSocketAddress().
105 std::string remote_address; 105 std::string remote_address;
106 106
107 // The handle to the URLRequest sourcing this download. 107 // The handle to the URLRequest sourcing this download.
108 DownloadRequestHandle request_handle; 108 DownloadRequestHandle request_handle;
109 109
110 // Default directory to use for this download. The final target path may not
111 // be determined until much later. In the meantime, this directory (if
112 // non-empty) should be used to store teh download file.
113 // TODO(asanka,rdsmith): Get rid of this when we start creating the
114 // DownloadFile on the UI thread.
115 FilePath default_download_directory;
116
117 // The request's |BoundNetLog|, for "source_dependency" linking with the 110 // The request's |BoundNetLog|, for "source_dependency" linking with the
118 // download item's. 111 // download item's.
119 const net::BoundNetLog request_bound_net_log; 112 const net::BoundNetLog request_bound_net_log;
120 113
121 private: 114 private:
122 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo); 115 DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo);
123 }; 116 };
124 117
125 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_ 118 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698