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

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

Issue 11028131: Shift passage of FileStream in downloads system to be by scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated Al's comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | 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 4e0cc3f6fce5fa96077179fc80454b67370986fa..44048b41a28cb190cabde60aea34f0d08a497df0 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -98,7 +98,7 @@ struct CONTENT_EXPORT DownloadCreateInfo {
std::string referrer_charset;
// The download file save info.
- content::DownloadSaveInfo save_info;
+ scoped_ptr<content::DownloadSaveInfo> save_info;
// The remote IP address where the download was fetched from. Copied from
// UrlRequest::GetSocketAddress().
@@ -117,6 +117,9 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// The request's |BoundNetLog|, for "source_dependency" linking with the
// download item's.
const net::BoundNetLog request_bound_net_log;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo);
};
#endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698