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

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

Issue 2850223002: remove reliance on webcontents when requesting storage permission (Closed)
Patch Set: fix mock class Created 3 years, 7 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 e43f1ed6893b90da2ca729db5792f6c16dd819c6..20acb0b11375bced2e8b103341633958cb82ea5d 100644
--- a/chrome/browser/android/download/download_controller_base.h
+++ b/chrome/browser/android/download/download_controller_base.h
@@ -72,7 +72,7 @@ class DownloadControllerBase : public content::DownloadItem::Observer {
// Called to prompt the user for file access permission. When finished,
// |callback| will be executed.
virtual void AcquireFileAccessPermission(
- content::WebContents* web_contents,
+ const content::ResourceRequestInfo::WebContentsGetter& wc_getter,
const AcquireFileAccessPermissionCallback& callback) = 0;
// Called by unit test to approve or disapprove file access request.
« 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