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

Unified Diff: content/browser/android/download_controller_android_impl.h

Issue 1229933010: move file access permission logic to DownloadResourceThrottle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 years, 5 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/chrome_tests_unit.gypi ('k') | content/browser/android/download_controller_android_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/download_controller_android_impl.h
diff --git a/content/browser/android/download_controller_android_impl.h b/content/browser/android/download_controller_android_impl.h
index 2363d46d34a2c406bb71e812f6cfd3603c03cd57..4753b906147df580245a998d5cd9b039178a8fd1 100644
--- a/content/browser/android/download_controller_android_impl.h
+++ b/content/browser/android/download_controller_android_impl.h
@@ -56,7 +56,8 @@ class DownloadControllerAndroidImpl : public DownloadControllerAndroid,
// DownloadControllerAndroid implementation.
void AcquireFileAccessPermission(
- WebContents* web_contents,
+ int render_process_id,
+ int render_view_id,
const AcquireFileAccessPermissionCallback& callback) override;
private:
@@ -136,8 +137,6 @@ class DownloadControllerAndroidImpl : public DownloadControllerAndroid,
base::android::ScopedJavaLocalRef<jobject> GetContentViewCoreFromWebContents(
WebContents* web_contents);
- WebContents* GetWebContents(int render_process_id, int render_view_id);
-
// Creates Java object if it is not created already and returns it.
JavaObject* GetJavaObject();
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/browser/android/download_controller_android_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698