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

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: 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
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 8d07207e5b0cfaaeb68b3fa14b69a03eae45693d..36f51ab639b19a24f8dfa5e755c7e2b1dab1a304 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.
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698