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

Unified Diff: content/browser/download/drag_download_file.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/drag_download_file.h
diff --git a/content/browser/download/drag_download_file.h b/content/browser/download/drag_download_file.h
index 19b771f29294803e74fcf56fe36626d5c09213be..9132f57c4ed733bce41e04cbf90c2ffa2d71beb8 100644
--- a/content/browser/download/drag_download_file.h
+++ b/content/browser/download/drag_download_file.h
@@ -41,7 +41,7 @@ class DragDownloadFile
// The file path and file stream should be provided as the first two
// parameters.
DragDownloadFile(const FilePath& file_name_or_path,
- linked_ptr<net::FileStream> file_stream,
+ scoped_ptr<net::FileStream> file_stream,
const GURL& url,
const content::Referrer& referrer,
const std::string& referrer_encoding,
@@ -92,7 +92,7 @@ class DragDownloadFile
// Accessed on UI thread (MacOSX).
FilePath file_path_;
FilePath file_name_;
- linked_ptr<net::FileStream> file_stream_;
+ scoped_ptr<net::FileStream> file_stream_;
GURL url_;
content::Referrer referrer_;
std::string referrer_encoding_;
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | content/browser/download/drag_download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698