Index: chrome/browser/android/download/download_controller_base.h |
diff --git a/chrome/browser/android/download/download_controller_base.h b/chrome/browser/android/download/download_controller_base.h |
index eb2ecd45a07ccfd9b0e8770c49fd44cac2269fe5..4f3e02e8614c220617b3106cc1ee8944fc15db56 100644 |
--- a/chrome/browser/android/download/download_controller_base.h |
+++ b/chrome/browser/android/download/download_controller_base.h |
@@ -9,6 +9,7 @@ |
#include "base/callback.h" |
#include "content/public/browser/download_item.h" |
+#include "content/public/browser/resource_request_info.h" |
#include "content/public/common/context_menu_params.h" |
#include "net/http/http_content_disposition.h" |
#include "net/http/http_request_headers.h" |
@@ -60,9 +61,10 @@ class DownloadControllerBase : public content::DownloadItem::Observer { |
// Starts a new download request with Android. Should be called on the |
// UI thread. |
- virtual void CreateGETDownload(int render_process_id, int render_view_id, |
- bool must_download, |
- const DownloadInfo& info) = 0; |
+ virtual void CreateGETDownload( |
+ const content::ResourceRequestInfo::WebContentsGetter& wc_getter, |
+ bool must_download, |
+ const DownloadInfo& info) = 0; |
// Should be called when a download is started. It can be either a GET |
// request with authentication or a POST request. Notifies the embedding |