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

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

Issue 2014803002: Move DownloadControllerAndroid from content/ to chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved download delegate interface to native Created 4 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: 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 133c1029092550e69e1e4686e69fefabc23a5eaf..103f7c592077ec8742709d97c5aed24255aa8d45 100644
--- a/content/browser/android/download_controller_android_impl.h
+++ b/content/browser/android/download_controller_android_impl.h
@@ -37,6 +37,10 @@ namespace net {
class URLRequest;
}
+namespace ui {
+class WindowAndroid;
+}
+
namespace content {
struct GlobalRequestID;
class DeferredDownloadObserver;
@@ -90,8 +94,7 @@ class DownloadControllerAndroidImpl : public DownloadControllerAndroid {
~DownloadControllerAndroidImpl() override;
// Helper method for implementing AcquireFileAccessPermission().
- bool HasFileAccessPermission(
- base::android::ScopedJavaLocalRef<jobject> j_content_view_core);
+ bool HasFileAccessPermission(ui::WindowAndroid* window_android);
// DownloadControllerAndroid implementation.
void CreateGETDownload(int render_process_id,

Powered by Google App Engine
This is Rietveld 408576698