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

Unified Diff: chrome/browser/android/download/download_controller_base.h

Issue 2334603002: Fix SSLUITest.TestBadHTTPSDownload with PlzNavigate. (Closed)
Patch Set: fix android temporarily Created 4 years, 3 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: 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
« no previous file with comments | « chrome/browser/android/download/download_controller.cc ('k') | chrome/browser/android/download/mock_download_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698