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

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

Issue 2642683005: reintroduce InterceptDownloadResourceThrottle for some OMA DRM downloads (Closed)
Patch Set: function name change to avoid findbugs confusion Created 3 years, 10 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 291329462453f4d1d3d66723b5e8d4e05baad1a2..4339ea3ec756d266084e05b1672ff344512fccf1 100644
--- a/chrome/browser/android/download/mock_download_controller.h
+++ b/chrome/browser/android/download/mock_download_controller.h
@@ -34,7 +34,9 @@ class MockDownloadController : public DownloadControllerBase {
content::WebContents* web_contents,
const AcquireFileAccessPermissionCallback& callback) override;
void SetApproveFileAccessRequestForTesting(bool approve) override;
-
+ void CreateAndroidDownload(
+ const content::ResourceRequestInfo::WebContentsGetter& wc_getter,
+ const DownloadInfo& info) override;
private:
bool approve_file_access_request_;
DISALLOW_COPY_AND_ASSIGN(MockDownloadController);

Powered by Google App Engine
This is Rietveld 408576698