| Index: content/browser/download/download_file.h
|
| diff --git a/content/browser/download/download_file.h b/content/browser/download/download_file.h
|
| index 3424054cb82aa5ff36d0dd956b5da45b865bf534..fb2489fa23cccf64450d015443376bb217695ce0 100644
|
| --- a/content/browser/download/download_file.h
|
| +++ b/content/browser/download/download_file.h
|
| @@ -25,8 +25,9 @@ class ResourceDispatcherHost;
|
| // cancelled, the DownloadFile is destroyed.
|
| class CONTENT_EXPORT DownloadFile : public BaseFile {
|
| public:
|
| + // Takes ownership of the object pointed to by |request_handle|.
|
| DownloadFile(const DownloadCreateInfo* info,
|
| - const DownloadRequestHandle& request_handle,
|
| + DownloadRequestHandleInterface* request_handle,
|
| DownloadManager* download_manager);
|
| virtual ~DownloadFile();
|
|
|
| @@ -65,7 +66,7 @@ class CONTENT_EXPORT DownloadFile : public BaseFile {
|
|
|
| // The handle to the request information. Used for operations outside the
|
| // download system, specifically canceling a download.
|
| - DownloadRequestHandle request_handle_;
|
| + scoped_ptr<DownloadRequestHandleInterface> request_handle_;
|
|
|
| // DownloadManager this download belongs to.
|
| scoped_refptr<DownloadManager> download_manager_;
|
|
|