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

Unified Diff: content/browser/download/download_resource_handler.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: Removed blank line. 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
Index: content/browser/download/download_resource_handler.h
diff --git a/content/browser/download/download_resource_handler.h b/content/browser/download/download_resource_handler.h
index 67b9d70830c03c695da7628078c198846f5a3c2b..581ac9db8d533165d9a1a2d6f5cc3e1d4d8a4691 100644
--- a/content/browser/download/download_resource_handler.h
+++ b/content/browser/download/download_resource_handler.h
@@ -41,7 +41,7 @@ class DownloadResourceHandler
DownloadResourceHandler(
net::URLRequest* request,
const OnStartedCallback& started_cb,
- const content::DownloadSaveInfo& save_info);
+ scoped_ptr<content::DownloadSaveInfo> save_info);
virtual bool OnUploadProgress(int request_id,
uint64 position,
@@ -106,7 +106,7 @@ class DownloadResourceHandler
// This is read only on the IO thread, but may only
// be called on the UI thread.
OnStartedCallback started_cb_;
- content::DownloadSaveInfo save_info_;
+ scoped_ptr<content::DownloadSaveInfo> save_info_;
// Data flow
scoped_refptr<net::IOBuffer> read_buffer_; // From URLRequest.

Powered by Google App Engine
This is Rietveld 408576698