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

Unified Diff: chrome/browser/android/download/mock_download_controller.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/mock_download_controller.h
diff --git a/chrome/browser/android/download/mock_download_controller.h b/chrome/browser/android/download/mock_download_controller.h
index 4339ea3ec756d266084e05b1672ff344512fccf1..d527037843cceb0b35b90b14ca2f749ff7b0d5f5 100644
--- a/chrome/browser/android/download/mock_download_controller.h
+++ b/chrome/browser/android/download/mock_download_controller.h
@@ -31,7 +31,7 @@ class MockDownloadController : public DownloadControllerBase {
content::WebContents* web_contents,
bool is_link, const std::string& extra_headers) override;
void AcquireFileAccessPermission(
- content::WebContents* web_contents,
+ const content::ResourceRequestInfo::WebContentsGetter& wc_getter,
const AcquireFileAccessPermissionCallback& callback) override;
void SetApproveFileAccessRequestForTesting(bool approve) override;
void CreateAndroidDownload(

Powered by Google App Engine
This is Rietveld 408576698