Index: content/public/browser/download_url_parameters.h |
diff --git a/content/public/browser/download_url_parameters.h b/content/public/browser/download_url_parameters.h |
index 7df92ff3aee718b34557016a88f2f75c3f8d1cb0..6a319487deda2f422f647f0eb5247577944b5bcd 100644 |
--- a/content/public/browser/download_url_parameters.h |
+++ b/content/public/browser/download_url_parameters.h |
@@ -10,7 +10,6 @@ |
#include "base/basictypes.h" |
#include "base/callback.h" |
-#include "content/public/browser/download_id.h" |
#include "content/public/browser/download_save_info.h" |
#include "content/public/common/referrer.h" |
#include "googleurl/src/gurl.h" |
@@ -18,6 +17,7 @@ |
namespace content { |
+class DownloadItem; |
class ResourceContext; |
class ResourceDispatcherHost; |
class WebContents; |
@@ -38,8 +38,8 @@ class WebContents; |
class CONTENT_EXPORT DownloadUrlParameters { |
public: |
- // The DownloadId will be invalid if-and-only-if there is an error. |
- typedef base::Callback<void(DownloadId, net::Error)> OnStartedCallback; |
+ // If there is an error, then |item| will be NULL. |
+ typedef base::Callback<void(DownloadItem*, net::Error)> OnStartedCallback; |
typedef std::pair<std::string, std::string> RequestHeadersNameValuePair; |
typedef std::vector<RequestHeadersNameValuePair> RequestHeadersType; |