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

Unified Diff: content/browser/web_contents/web_contents_android.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/web_contents/web_contents_android.h
diff --git a/content/browser/web_contents/web_contents_android.h b/content/browser/web_contents/web_contents_android.h
index 7c890c351b6717febffcb49b22a9ae210ff0cda4..1b33122dd824e05845df25ec7d622771c2927c2a 100644
--- a/content/browser/web_contents/web_contents_android.h
+++ b/content/browser/web_contents/web_contents_android.h
@@ -21,6 +21,7 @@
namespace content {
+class DownloadDelegate;
class SynchronousCompositorClient;
class WebContentsImpl;
@@ -190,6 +191,10 @@ class CONTENT_EXPORT WebContentsAndroid
return synchronous_compositor_client_;
}
+ void SetDownloadDelegate(DownloadDelegate* delegate);
+
+ DownloadDelegate* GetDownloadDelegate();
+
private:
RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid();
@@ -203,6 +208,7 @@ class CONTENT_EXPORT WebContentsAndroid
NavigationControllerAndroid navigation_controller_;
base::android::ScopedJavaGlobalRef<jobject> obj_;
SynchronousCompositorClient* synchronous_compositor_client_;
+ DownloadDelegate* download_delegate_;
base::WeakPtrFactory<WebContentsAndroid> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698