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

Unified Diff: chrome/browser/android/download/chrome_download_delegate.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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/download/chrome_download_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/download/chrome_download_delegate.h
diff --git a/chrome/browser/android/download/chrome_download_delegate.h b/chrome/browser/android/download/chrome_download_delegate.h
index 28285f898697f9cb814c879bce26b56043dc7226..8862ad680f57b0c54a550a880b90052a51d37483 100644
--- a/chrome/browser/android/download/chrome_download_delegate.h
+++ b/chrome/browser/android/download/chrome_download_delegate.h
@@ -22,6 +22,14 @@ class ChromeDownloadDelegate
void OnDownloadStarted(const std::string& filename);
void RequestFileAccess(intptr_t callback_id);
+ // TODO(qinmin): consolidate this with the static function above.
+ void EnqueueDownloadManagerRequest(const std::string& url,
+ const std::string& user_agent,
+ const std::string& content_disposition,
+ const std::string& mime_type,
+ const std::string& cookie,
+ const std::string& referer);
+
private:
explicit ChromeDownloadDelegate(content::WebContents* contents);
friend class content::WebContentsUserData<ChromeDownloadDelegate>;
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/download/chrome_download_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698