Index: content/browser/download/download_item_factory.h |
diff --git a/content/browser/download/download_item_factory.h b/content/browser/download/download_item_factory.h |
index 84110d9f31d6a22f5d2fa54c56b39e86fdcb93bf..7f4e472c5ab979f1bf9d388823fa936fb539a8cc 100644 |
--- a/content/browser/download/download_item_factory.h |
+++ b/content/browser/download/download_item_factory.h |
@@ -10,10 +10,11 @@ |
#define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_FACTORY_H_ |
#pragma once |
-#include "content/browser/download/download_item_impl.h" |
- |
#include <string> |
+#include "base/memory/scoped_ptr.h" |
+#include "content/browser/download/download_item_impl.h" |
+ |
struct DownloadCreateInfo; |
class DownloadRequestHandleInterface; |
class FilePath; |
@@ -44,7 +45,7 @@ public: |
virtual content::DownloadItem* CreateActiveItem( |
DownloadItemImpl::Delegate* delegate, |
const DownloadCreateInfo& info, |
- DownloadRequestHandleInterface* request_handle, |
+ scoped_ptr<DownloadRequestHandleInterface> request_handle, |
bool is_otr, |
const net::BoundNetLog& bound_net_log) = 0; |